Пример #1
0
        public IFunction GetFuntion(string name)
        {
            IntPtr    pointer = IntPtr.Zero;
            IFunction result  = null;

            pointer = MetacallAPI.metacall_function(name);

            if (pointer != IntPtr.Zero)
            {
                result = new Function(this, pointer);
            }

            return(result);
        }
Пример #2
0
 public bool HasFunction(string name)
 {
     return(MetacallAPI.metacall_function(name) != IntPtr.Zero);
 }