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()
}



xxxx 3D_fun1 (void * p_obj)
{
        My_OBJ * l_obj = (My_OBJ *) p_obj;

        l_obj-> 3D_Meth1(....)  
}

#ifdef __cplusplus
}
#endif          /* __cplusplus */

*******************************************************

Then wrap this with the standard python extension stuff 

??








-- 
*********************
SnakeCard LLC
www.snakecard.com
*********************
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to