Hi. Is cpSpace[Get/Set]Iterations deprecated?
Can't find it in includes/source code.
Thanks.
P.S
Can something wrong be with my setup?
Whole cpSpaceGetXXX() funcs are missing.
where is cpSpaceGetIterations?
-
- Posts: 3
- Joined: Sat Dec 01, 2012 5:56 pm
- Contact:
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: where is cpSpaceGetIterations?
If you are asking where they are defined, it's in the cpSpace.h header:
https://github.com/slembcke/Chipmunk-Ph ... ace.h#L130
https://github.com/slembcke/Chipmunk-Ph ... ace.h#L130
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 3
- Joined: Sat Dec 01, 2012 5:56 pm
- Contact:
Re: where is cpSpaceGetIterations?
Hi.
Thanks for reply.
And they are not present in libchipmunk.so.0.0.d. (i nm-ed that lib)
Thanks for reply.
The problem is that i don't see them defined in include/chipunk.slembcke wrote:If you are asking where they are defined, it's in the cpSpace.h header:
https://github.com/slembcke/Chipmunk-Ph ... ace.h#L130
And they are not present in libchipmunk.so.0.0.d. (i nm-ed that lib)
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: where is cpSpaceGetIterations?
It's defined as a static inline function using a macro on cpSpace.h:130. It would only be exported as a symbol if you enabled the FFI binding support in which case it force a non-static copy of the functions to be exported with an underscore prefix on the function name.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 3
- Joined: Sat Dec 01, 2012 5:56 pm
- Contact:
Re: where is cpSpaceGetIterations?
Thank you!
slembcke wrote:It's defined as a static inline function using a macro on cpSpace.h:130. It would only be exported as a symbol if you enabled the FFI binding support in which case it force a non-static copy of the functions to be exported with an underscore prefix on the function name.
-
- Posts: 1
- Joined: Tue Feb 26, 2013 12:14 pm
- Contact:
Re: where is cpSpaceGetIterations?
Thanks! Helped me too!slembcke wrote:It's defined as a static inline function using a macro on cpSpace.h:130. It would only be exported as a symbol if you enabled the FFI binding support in which case it force a non-static copy of the functions to be exported with an underscore prefix on the function name.
Who is online
Users browsing this forum: No registered users and 5 guests