- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
37
selvar.h
37
selvar.h
@ -16,23 +16,22 @@
|
||||
#ifndef SICSSELVAR
|
||||
#define SICSSELVAR
|
||||
|
||||
typedef struct __SelVar *pSelVar;
|
||||
|
||||
/*------------------------ birth and death --------------------------------*/
|
||||
pSelVar CreateWLVar(char *name, pSicsSelector pSel);
|
||||
pSelVar CreateEnergy(char *name, pSicsSelector pSel);
|
||||
void DeleteSelVar(void *pSelf);
|
||||
/* ----------------------- Factory functions for initialization -----------*/
|
||||
int MakeWaveLengthVar(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int MakeEnergyVar(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
/*-------------------------------------------------------------------------*/
|
||||
float GetSelValue(pSelVar self, SConnection *pCon);
|
||||
/*------------------------ Action functions -------------------------------*/
|
||||
int WaveLengthAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int EnergyAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
#endif
|
||||
typedef struct __SelVar *pSelVar;
|
||||
|
||||
/*------------------------ birth and death --------------------------------*/
|
||||
pSelVar CreateWLVar(char *name, pSicsSelector pSel);
|
||||
pSelVar CreateEnergy(char *name, pSicsSelector pSel);
|
||||
void DeleteSelVar(void *pSelf);
|
||||
/* ----------------------- Factory functions for initialization -----------*/
|
||||
int MakeWaveLengthVar(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int MakeEnergyVar(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
/*-------------------------------------------------------------------------*/
|
||||
float GetSelValue(pSelVar self, SConnection * pCon);
|
||||
/*------------------------ Action functions -------------------------------*/
|
||||
int WaveLengthAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int EnergyAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user