- Adapted indenation to new agreed upon system

- Added support for second generation scriptcontext based counter
This commit is contained in:
koennecke
2009-02-13 09:00:03 +00:00
parent a3dcad2bfa
commit 91d4af0541
405 changed files with 88101 additions and 88173 deletions

View File

@ -8,8 +8,8 @@
Mark Koennecke, September 2003
----------------------------------------------------------------------*/
#ifndef SICSTCLDRIVABLE
#define SICSTCLDRIVABLE
#ifndef SICSTCLDRIVABLE
#define SICSTCLDRIVABLE
/*
Function codes for functionIndex
@ -21,33 +21,32 @@
#define TCLGET 5
/*
This installs a Tcl replacement for a drivable function
*/
int TclReplaceDrivable(SConnection *pCon, SicsInterp *pSics,
void *pData, int argc, char *argv[]);
This installs a Tcl replacement for a drivable function
*/
int TclReplaceDrivable(SConnection * pCon, SicsInterp * pSics,
void *pData, int argc, char *argv[]);
/*
This allows to invoke a replaced function for debugging
purposes
*/
int TclDrivableInvoke(SConnection *pCon, SicsInterp *pSics,
void *pData, int argc, char *argv[]);
/*
This is for use from C
*/
int replaceDrivableByTcl(void *sicsObject, int functionIndex,
char *scriptName, char *tclName);
This allows to invoke a replaced function for debugging
purposes
*/
int TclDrivableInvoke(SConnection * pCon, SicsInterp * pSics,
void *pData, int argc, char *argv[]);
/*
map name to a functionIndex for use in replaceDrivableByTcl.
Returns 0 on failure, a usefule index > 0 in the case of success
*/
int mapDrivableFunctionNames(char *name);
This is for use from C
*/
int replaceDrivableByTcl(void *sicsObject, int functionIndex,
char *scriptName, char *tclName);
/*
This is called from StopServer/nserver.c in order to remove
all memory related to this class
*/
void killTclDrivable(void);
map name to a functionIndex for use in replaceDrivableByTcl.
Returns 0 on failure, a usefule index > 0 in the case of success
*/
int mapDrivableFunctionNames(char *name);
/*
This is called from StopServer/nserver.c in order to remove
all memory related to this class
*/
void killTclDrivable(void);
#endif