- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
53
fupa.h
53
fupa.h
@ -28,31 +28,30 @@
|
||||
#define FUPATEXT 0
|
||||
#define FUPAINT 1
|
||||
#define FUPAFLOAT 2
|
||||
#define FUPAOPT 3 /* optional argument, in this case text contains it
|
||||
and iVal indicates its presence
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
int iArgs;
|
||||
int pArgs[MAXARG];
|
||||
} FuncTemplate, *pFuncTemplate;
|
||||
|
||||
typedef struct {
|
||||
char text[80];
|
||||
int iVal;
|
||||
float fVal;
|
||||
} FuPaArg;
|
||||
|
||||
typedef struct {
|
||||
char pError[132];
|
||||
int iArgs;
|
||||
FuPaArg Arg[MAXARG];
|
||||
} FuPaResult;
|
||||
|
||||
int EvaluateFuPa(pFuncTemplate pTemplate,int iFunc, int argc, char *argv[],
|
||||
FuPaResult *pRes);
|
||||
|
||||
|
||||
#endif
|
||||
#define FUPAOPT 3 /* optional argument, in this case text contains it
|
||||
and iVal indicates its presence
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
int iArgs;
|
||||
int pArgs[MAXARG];
|
||||
} FuncTemplate, *pFuncTemplate;
|
||||
|
||||
typedef struct {
|
||||
char text[80];
|
||||
int iVal;
|
||||
float fVal;
|
||||
} FuPaArg;
|
||||
|
||||
typedef struct {
|
||||
char pError[132];
|
||||
int iArgs;
|
||||
FuPaArg Arg[MAXARG];
|
||||
} FuPaResult;
|
||||
|
||||
int EvaluateFuPa(pFuncTemplate pTemplate, int iFunc, int argc,
|
||||
char *argv[], FuPaResult * pRes);
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user