version 1.23 | | version 1.24 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.23 2004/01/20 05:48:39 mwedel Exp $"; | | * "$Id: plugins.c,v 1.24 2004/04/25 07:17:40 mwedel Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
whatptr = (object *)(PParm->Value[0]); | | whatptr = (object *)(PParm->Value[0]); |
whoptr = (object *)(PParm->Value[1]); | | whoptr = (object *)(PParm->Value[1]); |
flag = *(int*)(PParm->Value[2]); | | flag = *(int*)(PParm->Value[2]); |
| | /* This is now broken since query_cost returns 64 bit - |
| | * not positive how well/what needs to be changed for the plugin |
| | * to know this and act accordingly. |
| | */ |
val=query_cost (whatptr,whoptr,flag); | | val=query_cost (whatptr,whoptr,flag); |
CFP->Value[0] = (void*) &val; | | CFP->Value[0] = (void*) &val; |
return CFP; | | return CFP; |