protected static extern void mupDefineMultFun(IntPtr a_parser, string name, MultFunDelegate fun, int optimize);
public void DefineFun(string name, MultFunDelegate function, bool bAllowOptimization) { m_funDelegates.Add(function); mupDefineMultFun(m_parser, name, function, (bAllowOptimization) ? 1 : 0); }
public void DefineFun(string name, MultFunDelegate function) { m_funDelegates.Add(function); mupDefineMultFun(m_parser, name, function, 0); }