[mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 1:59 AM
To: Mark Doberenz; [EMAIL PROTECTED]
Subject: Re: python API wrapper for C++ API
"Mark Doberenz" <[EMAIL PROTECTED]> wrote:
> I'm fairly new at Python, but I've got a project I really want to do.
>
Hi,
How about first using a C to C++ wrapper:
***
#ifdef __cplusplus
extern "C" { /* I really dislike this - iwj. */
#endif
void * init (void)
{
return new myobj()
}
3D_fun1 (void * p_obj)
{
My_OBJ * l_obj = (My_OBJ *)
Mark Doberenz wrote:
> I'm working with a real-time 3D program called Deep Creator, and it has
> a C++ API written for it. I'm wondering what it would take to create a
> Python wrapper that would allow me to write Python programs that would
> call the C++ API.
start here:
http://www.python.org/
"Mark Doberenz" <[EMAIL PROTECTED]> wrote:
> I'm fairly new at Python, but I've got a project I really want to do.
>
> I'm working with a real-time 3D program called Deep Creator, and it has
> a C++ API written for it. I'm wondering what it would take to create a
> Python wrapper that would all