| 140 | m_pPropertiesTable=NULL; |
| 141 | } |
| 142 | static void RegisterFunction(IScriptSystem *pSS,const char *sName,MemberFunc mfunc){ |
| 143 | if(m_pTemplateTable==NULL) |
| 144 | { |
| 145 | |
| 146 | m_pTemplateTable=pSS->CreateObject(); |
| 147 | } |
| 148 | |
| 149 | int nIdx = (int)m_vFuncs.size(); |
| 150 | m_vFuncs.push_back(mfunc); |
| 151 | m_pTemplateTable->AddFunction(sName,_ScriptableEx<T>::FuncThunk,nIdx); |
| 152 | // m_nFuncNum++; |
| 153 | } |
| 154 | bool EnablePropertiesMapping(void *pBase) |
| 155 | { |
| 156 | assert(pBase); |
nothing calls this directly
no test coverage detected