Hi Nicolas,
as you suggested, i now use a context lock to make some of my destructors
typesafe. it works great on linux, i define the relevant functions in my own
header file like this:
typedef struct _clock _clock;
_clock *context_lock_new();
void context_lock( _clock *l );
void context_release( _clock *l );
void context_lock_delete( _clock *l );
now, when trying to link to neko.dll for windows32, the compiler complains
about those symbols being missing...? with neko 1.7.0, that is.
also, it would be much nicer if those definitions would be exported in the
system neko.h. could that be done?
-dan
--
Neko : One VM to run them all
(http://nekovm.org)