version 1.11 | | version 1.12 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.11 2001/11/17 21:25:21 michtoen Exp $"; | | * "$Id: plugins.c,v 1.12 2001/11/19 23:30:28 michtoen Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
/*object* get_archetype(char* name); */ | | /*object* get_archetype(char* name); */ |
CFParm *CFP; | | CFParm *CFP; |
object* val; | | object* val; |
| | |
CFP = (CFParm*)(malloc(sizeof(CFParm))); | | CFP = (CFParm*)(malloc(sizeof(CFParm))); |
val = get_archetype( | | val = get_archetype( (char *)(PParm->Value[0]) ); |
(char *)(PParm->Value[0]) | | |
); | | |
CFP->Value[0] = (void *)(val); | | CFP->Value[0] = (void *)(val); |
return CFP; | | return CFP; |
}; | | }; |