From 54c9dc4c8fe645f47aceadd1433e0e42e9e3162d Mon Sep 17 00:00:00 2001 From: hauser_n Date: Mon, 1 May 2006 04:59:03 +0000 Subject: [PATCH] Generated from confvirtualmot.w with nuweb --- confvirtmot.h | 4 ++-- confvirtmot.i | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/confvirtmot.h b/confvirtmot.h index 6eb132bc..919a18aa 100644 --- a/confvirtmot.h +++ b/confvirtmot.h @@ -14,8 +14,8 @@ #include "sics.h" int MakeConfigurableVirtualMotor(SConnection *pCon, SicsInterp *pSics, - void *data, int aargc, char *argv[]); + void *data, int aargc, char *argv[]); int ConfigurableVirtualMotorAction(SConnection *pCon, SicsInterp *pSics, - void *data, int argc, char *argv[]); + void *data, int argc, char *argv[]); #endif diff --git a/confvirtmot.i b/confvirtmot.i index 1628cfbf..d2ea3dec 100644 --- a/confvirtmot.i +++ b/confvirtmot.i @@ -5,15 +5,18 @@ -----------------------------------------------------------------------*/ typedef struct __CONFVIRTMOT { - pObjectDescriptor pDes; - pIDrivable pDriv; - char *scriptName; - char *readScript; - int motorList; - float targetValue; - int targetReached; - char scriptError[512]; - int parseOK; + pObjectDescriptor pDes; + pIDrivable pDriv; + pICallBack pCall; + char *name; + char *scriptName; + char *readScript; + int motorList; + float targetValue; + int targetReached; + int posCount; + char scriptError[512]; + int parseOK; }ConfigurableVirtualMotor, *pConfigurableVirtualMotor;