python , Boost and straight (but complex) C code

Erik Max Francis max at alcyone.com
Sat Dec 30 16:19:28 EST 2006


Osiris wrote:

> I have these pieces of C-code (NOT C++ !!) I want to call from Python.
> I found Boost.
> I have MS Visual Studio 2005 with C++.
> 
> is this the idea:
> I write the following C source file:
> ============================
> #include <iostream>
> #include <stdafx.h>
> 
> namespace { // Avoid cluttering the global namespace.

iostream and namespaces are both most definitely C++ features, not C.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
   It's almost like / I didn't even have a choice
    -- India Arie



More information about the Python-list mailing list