Sfoglia il codice sorgente

ncd: NCDModule: remove 'iparams' member from NCDModuleProcess

ambrop7 13 anni fa
parent
commit
ea164baa07
2 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 3
      ncd/NCDModule.c
  2. 0 1
      ncd/NCDModule.h

+ 0 - 3
ncd/NCDModule.c

@@ -337,9 +337,6 @@ int NCDModuleProcess_InitId (NCDModuleProcess *o, NCDModuleInst *n, NCD_string_i
     o->user = user;
     o->handler_event = handler_event;
     
-    // remember iparams
-    o->iparams = n->params->iparams;
-    
     // set no special functions
     o->func_getspecialobj = NULL;
     

+ 0 - 1
ncd/NCDModule.h

@@ -359,7 +359,6 @@ typedef struct NCDModuleProcess_s {
     NCDValRef args;
     void *user;
     NCDModuleProcess_handler_event handler_event;
-    const struct NCDModuleInst_iparams *iparams; // TODO remove
     NCDModuleProcess_func_getspecialobj func_getspecialobj;
     void *interp_user;
     NCDModuleProcess_interp_func_event interp_func_event;