48 if (m0 || m1 || a0 || a1)
53 #define EV_START_FNNA(name) \
54 static void name(EV_FUNCTION *, EV_SYMBOL *result, \
55 EV_SYMBOL **, int thread)
56 #endif // EV_START_FNNA
63 getTimeValues(thread, t, t0, t1, v0, v1);
65 result->value.fval = (dt == 0) ? (v0+v1)*0.5F
66 : v0 + (v1-
v0)*(t - t0)/dt;
69 #define EVF EV_TYPEFLOAT
70 #define EVS EV_TYPESTRING
71 #define EVV EV_TYPEVECTOR
76 #define VAL_FLAGS (CH_EXPRVALUE)
77 #define VALSLOPE_FLAGS (CH_EXPRVALUE | CH_EXPRSLOPE)
89 for (i = 0; funcTable[i].
getName(); i++)
const char * getName() const
static void getGlueTime(fpreal &t, fpreal &t0, fpreal &t1, fpreal &v0, fpreal &v1, int thread)
#define EV_START_FNNA(name)
**But if you need a result
void CMDextendLibrary(CMD_Manager *)
EXPR_API void ev_AddFunction(EV_FUNCTION *func)
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun
static void getGlueSlope(fpreal *m0, fpreal *m1, fpreal *a0, fpreal *a1, int thread)