Index: generic/xotclInt.h =================================================================== diff -u -r0e6f9ba5d9d7a8ce3e765f8a456a169f4b676b06 -rfb1840d39d6069f7b26e0d982448ef2602782e9e --- generic/xotclInt.h (.../xotclInt.h) (revision 0e6f9ba5d9d7a8ce3e765f8a456a169f4b676b06) +++ generic/xotclInt.h (.../xotclInt.h) (revision fb1840d39d6069f7b26e0d982448ef2602782e9e) @@ -430,10 +430,22 @@ * object and class internals */ +typedef int (XOTclTypeConverter) _ANSI_ARGS_((Tcl_Interp *interp, Tcl_Obj *obj, ClientData *clientData)); + +typedef struct { + char *name; + int required; + int nrargs; + XOTclTypeConverter *converter; + Tcl_Obj *defaultValue; +} argDefinition; + typedef struct XOTclNonposArgs { - Tcl_Obj *nonposArgs; - Tcl_Obj *ordinaryArgs; - Tcl_Obj *slotObj; + Tcl_Obj *nonposArgs; + Tcl_Obj *ordinaryArgs; + Tcl_Obj *slotObj; + argDefinition *ifd; + int ifdSize; } XOTclNonposArgs; typedef struct XOTclObjectOpt {