[pygccxml-development] inline asm
Brought to you by:
mbaas,
roman_yakovenko
From: Thomas R. <tho...@gm...> - 2008-08-16 08:23:05
|
Now that I have my other problem solved.. does py++ support inline asm? If so, how exactly would I handle a function that uses inline asm? If not, I'm having problems excluding the function and most likely I'm doing it wrong :P This is the offending code: NX_INLINE void NxMath::sinCos(NxF32 f, NxF32& s, NxF32& c) { #ifdef WIN32 NxF32 localCos, localSin; NxF32 local = f; _asm fld local _asm fsincos _asm fstp localCos _asm fstp localSin c = localCos; s = localSin; #else c = cosf(f); s = sinf(f); #endif } It's from the PhysX sdk :P This function is in a different header than I'm trying to bind, so this may be my issue. How do I exclude a member function if it's in a different header than I'm binding? I tried doing it just the way I normally would: foo = mb.member_function("foo") foo.exclude() That didn't work. I also tried specifying the class: bar = mb.class_("bar") foo = bar.member_function("foo") foo.exclude() But that didn't work either. -Tom |