
A2.2 Ox function summary 31
OxRunMainExitCall
void OxRunMainExitCall(void (OXCALL * fn)(void));
fn in: function to be called when Ox main finishes
No return value.
Description
Schedules a function to be called at the end of main. This can be used if a library
needs a termination call (or, e.g. for a final barrier synchronization in parallel
code). Currently, only 10 such functions can be added.
OxRunMessage
void OxRunMessage(char *s);
s in: message text
No return value.
Description
Reports a run-time message.
OxValColumns
int OxValColumns(OxVALUE *pv);
pv in: OxVALUE to get size of
No return value.
Description
OxValColumns as Ox function columns
OxValGet...
OxVALUE *OxValGetArray(OxVALUE *pv);
int OxValGetArrayLen(OxVALUE *pv);
OxVALUE *OxValGetArrayVal(OxVALUE *pv, int i);
bool OxValGetDouble(OxVALUE *pv, double *pdVal);
bool OxValGetInt(OxVALUE *pv, int *piVal);
MATRIX OxValGetMat(OxVALUE *pv);
int OxValGetMatc(OxVALUE *pv);
int OxValGetMatr(OxVALUE *pv);
int OxValGetMatrc(OxVALUE *pv);
char *OxValGetString(OxVALUE *pv);
bool OxValGetStringCopy(OxVALUE *pv, char *s,
int mxLen);
int OxValGetStringLen(OxVALUE *pv);
OxVALUE *OxValGetVal(OxVALUE *pv, int i);
pv in: OxVALUE to get information from
out: could have changed to reflect requested type
i in: index in array
pdVal out: double value (if successful)
Komentarze do niniejszej Instrukcji