예제 #1
0
        public void AddMethod(int inlet, Symbol sel, MethodAnything d)
        {
            DynamicMethodAnything dyn = DynamicMethods.Create(d);

            if (inlet == 0 && sel == _)
            {
                m_anything   = dyn;
                methodflags |= MethodFlags.f_anything;
            }
            else
            {
                AddMethodIntern(inlet, sel, Kind.k_anything, dyn);
            }
        }
예제 #2
0
 public void AddMethod(int inlet, Symbol sel, MethodAnything d)
 {
     DynamicMethodAnything dyn = DynamicMethods.Create(d);
     if (inlet == 0 && sel == _)
     {
         m_anything = dyn;
         methodflags |= MethodFlags.f_anything;
     }
     else
         AddMethodIntern(inlet, sel, Kind.k_anything, dyn);
 }