Re: python , Boost and straight (but complex) C code
- From: Osiris <nono@xxxxxxxxxxx>
- Date: Sun, 31 Dec 2006 00:06:53 +0100
On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <max@xxxxxxxxxxx>
wrote:
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.
yes, but C can be compiled with a C++ compiler, One can put C code in
C++ source.... Boost should not complain... should it ?
Boost text is all about C++.. so... C should not be a problem...
.
- Follow-Ups:
- Re: python , Boost and straight (but complex) C code
- From: Christophe Cavalaria
- Re: python , Boost and straight (but complex) C code
- From: Erik Max Francis
- Re: python , Boost and straight (but complex) C code
- References:
- python , Boost and straight (but complex) C code
- From: Osiris
- Re: python , Boost and straight (but complex) C code
- From: Erik Max Francis
- python , Boost and straight (but complex) C code
- Prev by Date: Re: DOS, UNIX and tabs
- Next by Date: Re: Wow, Python much faster than MatLab
- Previous by thread: Re: python , Boost and straight (but complex) C code
- Next by thread: Re: python , Boost and straight (but complex) C code
- Index(es):
Relevant Pages
|