- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
48
sicsdata.h
48
sicsdata.h
@ -15,36 +15,34 @@
|
||||
#define FLOATTYPE 1
|
||||
|
||||
|
||||
typedef struct {
|
||||
pObjectDescriptor pDes;
|
||||
int *data;
|
||||
char *dataType;
|
||||
int dataUsed;
|
||||
int currentDataSize;
|
||||
}SICSData, *pSICSData;
|
||||
|
||||
typedef struct {
|
||||
pObjectDescriptor pDes;
|
||||
int *data;
|
||||
char *dataType;
|
||||
int dataUsed;
|
||||
int currentDataSize;
|
||||
} SICSData, *pSICSData;
|
||||
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
int *getSICSDataPointer(pSICSData self, int start, int end);
|
||||
|
||||
pSICSData createSICSData(void);
|
||||
int *getSICSDataPointer(pSICSData self, int start, int end);
|
||||
|
||||
void assignSICSType(pSICSData self, int start, int end, int type);
|
||||
pSICSData createSICSData(void);
|
||||
|
||||
int SICSDataFactory(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData,
|
||||
int argc, char *argv[]);
|
||||
void assignSICSType(pSICSData self, int start, int end, int type);
|
||||
|
||||
int SICSDataFactory(SConnection * pCon, SicsInterp * pSics,
|
||||
void *pData, int argc, char *argv[]);
|
||||
|
||||
int SICSDataAction(SConnection * pCon, SicsInterp * pSics,
|
||||
void *pData, int argc, char *argv[]);
|
||||
|
||||
void clearSICSData(pSICSData self);
|
||||
int getSICSDataInt(pSICSData self, int pos, int *value);
|
||||
int getSICSDataFloat(pSICSData self, int pos, float *value);
|
||||
int setSICSDataInt(pSICSData self, int pos, int value);
|
||||
int setSICSDataFloat(pSICSData self, int pos, float value);
|
||||
|
||||
int SICSDataAction(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
void clearSICSData(pSICSData self);
|
||||
int getSICSDataInt(pSICSData self, int pos, int *value);
|
||||
int getSICSDataFloat(pSICSData self, int pos, float *value);
|
||||
int setSICSDataInt(pSICSData self, int pos, int value);
|
||||
int setSICSDataFloat(pSICSData self, int pos, float value);
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user