Hi, i decalre and register an enum in a plugin. I was wondering how i
can decalre a fucntion to return a value from that enum. I tried like
the following but i get a 'this class does not exists' error from
within rb.
const char* _statusEnumFields[] = {
"kEnum1 = -5",
"kEnum2 = -4"
};
static REALenum CFImageSource_StatusEnum = {
"AnEnum",
"Integer",
0,
_statusEnumFields,
6
};
{ (REALproc) SomeFunction, REALnoImplementation, "SomeFunction() as
AnEnum" }
thanks
AC
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>