Re: gmmproc leaves _CONVERT macros



On Fri, 2008-05-30 at 20:07 -0700, Greg Haynes wrote:
> Hi,
> I am trying to wrap a library (libinfinity) using gmmproc.  I dont get
> any command line errors but _CONVERT macros are left in my .cc code that
> keep it from compiling.  Can anyone explain the significance of this?
> 
> Heres is some sample code:
>  
> _WRAP_METHOD(void watch(NativeSocket *, Event, IoFunction, void *, Glib::Object::DestroyNotify), inf_io_watch)
> 
> -YIELDS-
> void Io::watch(int* p1, Event p2, IoFunction p3, void * p4, Glib::Object::DestroyNotify p5)
> {
>  inf_io_watch(gobj(), _CONVERT(int*,InfNativeSocket*,p1,0), _CONVERT(Event,InfIoEvent,p2,0), _CONVERT(IoFunction,InfIoFunc,p3,0), _CONVERT(void*,gpointer,p4,0), _CONVERT(Glib::Object::DestroyNotify,GDestro    yNotify,p5,0));
> }

I've never seen this problem before. Those _CONVERT() macros should be
converted by m4 to real C++ code.

If this is in a public svn (or similar) somewhere, maybe we could take a
look.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]