Example #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);
            }
        }
Example #2
0
 protected static void AddMethod(int inlet, string sel, MethodAnything m)
 {
     AddMethod(inlet, new Symbol(sel), m);
 }
Example #3
0
 protected static void AddMethod(MethodAnything m)
 {
     AddMethod(0, m);
 }
Example #4
0
 protected static void AddMethod(int inlet, MethodAnything m)
 {
     AddMethod(inlet, _, m);
 }
Example #5
0
 protected static void AddMethod(int inlet, Symbol sel, MethodAnything m)
 {
     ((External)m.Target).klass.AddMethod(inlet, sel, m);
 }
Example #6
0
 protected static void AddMethod(int inlet, string sel, MethodAnything m) { AddMethod(inlet, new Symbol(sel), m); }
Example #7
0
 protected static void AddMethod(MethodAnything m) { AddMethod(0, m); }
Example #8
0
 protected static void AddMethod(int inlet, MethodAnything m) { AddMethod(inlet, _, m); }
Example #9
0
 protected static void AddMethod(int inlet, Symbol sel, MethodAnything m) { ((External)m.Target).klass.AddMethod(inlet, sel, m); }
Example #10
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);
 }