瀏覽代碼

ncd: NCDModule: remove 'iparams' member from NCDModuleProcess

ambrop7 13 年之前
父節點
當前提交
ea164baa07
共有 2 個文件被更改,包括 0 次插入4 次删除
  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;