Changing macros to functions



ORBit2 generates *_alloc() code like this:

#define CORBA_sequence_CORBA_octet__alloc() ((CORBA_sequence_CORBA_octet
*)ORBit_small_alloc (TC_CORBA_sequence_CORBA_octet))

If this was a function instead of a macro, then I might be able to take
a function pointer, and thus solve this problem in the cpp branch:

http://lists.gnome.org/archives/orbit-list/2002-February/msg00131.html

Is there any chance that I'd be allowed to make that change?

-- 
Murray Cumming
murrayc@usa.net
www.murrayc.com




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