slushpuppy
2012-05-10 05:59:28
I did a few conversions to aid plugin, in other languages, developments for simba. I would be updating this list with other useful functions found in PS.
References:
http://villavu.com/forum/showthread.php?t=39677
http://villavu.com/forum/showthread.php?t=64880
Credits:
Dgby, and Wizzup for answering my questions
typedef struct {
int x,y;
} SIMBA_TPoint;
/* Unpacked records E.g. int example(SIMBA_TPoint * ptr) */
typedef struct {
char * data;
} SIMBA_string;
/* E.g. int example(SIMBA_string str) */
typedef struct {
int high;
union {
SIMBA_TPoint * atpa;
int * integer;
SIMBA_string * string;
} ;
} SIMBA_Array;
/* E.g. int example(SIMBA_Array array) {
array.atpa
array.integer
array.string
} */
References:
http://villavu.com/forum/showthread.php?t=39677
http://villavu.com/forum/showthread.php?t=64880
Credits:
Dgby, and Wizzup for answering my questions