version 1.29 | | version 1.30 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.29 2004/10/18 06:10:12 akirschbaum Exp $"; | | * "$Id: plugins.c,v 1.30 2004/10/18 06:35:38 akirschbaum Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
CFParm* CFWCreateArtifact(CFParm* PParm) | | CFParm* CFWCreateArtifact(CFParm* PParm) |
{ | | { |
CFParm *CFP; | | CFParm *CFP; |
object* val; | | static int val; |
CFP = (CFParm*)(malloc(sizeof(CFParm))); | | CFP = (CFParm*)(malloc(sizeof(CFParm))); |
val = create_artifact( | | val = create_artifact( |
(object *)(PParm->Value[0]), | | (object *)(PParm->Value[0]), |
(char *)(PParm->Value[1]) | | (char *)(PParm->Value[1]) |
); | | ); |
CFP->Value[0] = (void *)(val); | | CFP->Value[0] = &val; |
return CFP; | | return CFP; |
}; | | }; |
| | |