static void UpdateMethod( void *buf, long obji) { BSAVE_METHOD *bmth; bmth = (BSAVE_METHOD *) buf; methodArray[obji].index = bmth->index; methodArray[obji].busy = 0; #if DEBUGGING_FUNCTIONS methodArray[obji].trace = WatchMethods; #endif methodArray[obji].restrictionCount = bmth->restrictionCount; methodArray[obji].minRestrictions = bmth->minRestrictions; methodArray[obji].maxRestrictions = bmth->maxRestrictions; methodArray[obji].localVarCount = bmth->localVarCount; methodArray[obji].system = bmth->system; methodArray[obji].restrictions = RestrictionPointer(bmth->restrictions); methodArray[obji].actions = ExpressionPointer(bmth->actions); methodArray[obji].ppForm = NULL; methodArray[obji].usrData = NULL; }
static void UpdateMethod( void *theEnv, void *buf, long obji) { BSAVE_METHOD *bmth; bmth = (BSAVE_METHOD *) buf; DefgenericBinaryData(theEnv)->MethodArray[obji].index = bmth->index; DefgenericBinaryData(theEnv)->MethodArray[obji].busy = 0; #if DEBUGGING_FUNCTIONS DefgenericBinaryData(theEnv)->MethodArray[obji].trace = DefgenericData(theEnv)->WatchMethods; #endif DefgenericBinaryData(theEnv)->MethodArray[obji].restrictionCount = bmth->restrictionCount; DefgenericBinaryData(theEnv)->MethodArray[obji].minRestrictions = bmth->minRestrictions; DefgenericBinaryData(theEnv)->MethodArray[obji].maxRestrictions = bmth->maxRestrictions; DefgenericBinaryData(theEnv)->MethodArray[obji].localVarCount = bmth->localVarCount; DefgenericBinaryData(theEnv)->MethodArray[obji].system = bmth->system; DefgenericBinaryData(theEnv)->MethodArray[obji].restrictions = RestrictionPointer(bmth->restrictions); DefgenericBinaryData(theEnv)->MethodArray[obji].actions = ExpressionPointer(bmth->actions); DefgenericBinaryData(theEnv)->MethodArray[obji].ppForm = NULL; DefgenericBinaryData(theEnv)->MethodArray[obji].usrData = NULL; }