globle void PPDefmoduleCommand( void *theEnv) { char *defmoduleName; defmoduleName = GetConstructName(theEnv,"ppdefmodule","defmodule name"); if (defmoduleName == NULL) return; PPDefmodule(theEnv,defmoduleName,WDISPLAY); return; }
void PPDefmoduleCommand( UDFContext *context, CLIPSValue *returnValue) { const char *defmoduleName; void *theEnv = UDFContextEnvironment(context); defmoduleName = GetConstructName(context,"ppdefmodule","defmodule name"); if (defmoduleName == NULL) return; PPDefmodule(theEnv,defmoduleName,WDISPLAY); return; }