• Advertisement
Sign in to follow this  

RegisterObjectProperty

This topic is 2447 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi

i'm writing an app in objc/c and using angel script. My Obj-C bridge is working well :-)

I try to use properties, but i cant find a method for using properties with function pointers. For a plain c application this would be great if there is also exists such a method on [color=#6F41A8][font=Menlo][size=2]asIScriptEngine.[/font]
[color=#6F41A8][font=Menlo][size=2]
[/font]
[color=#6F41A8][font=Menlo][size=2][color=#000000][font=arial, verdana, tahoma, sans-serif]

or is there a workaround?[/font][/font]
[color=#6F41A8][font=Menlo][size=2][color=#000000][font=arial, verdana, tahoma, sans-serif]


[/font][/font]
[color=#6F41A8][font=Menlo][size=2][color=#000000][font=arial, verdana, tahoma, sans-serif]

Thanks[/font][/font]
[color=#6F41A8][font=Menlo][size=2][color=#000000][font=arial, verdana, tahoma, sans-serif]

Glenn[/font][/font]

Share this post


Link to post
Share on other sites
Advertisement
The RegisterObjectProperty is used to register an actual member of an object. But I assume you wanted something more like property accessors, these are registered as normal class methods, except that they following a special naming convention and signature that the compiler understands.

Property accessors also work for global properties, and can even be used to emulate an array of elements.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement