Beispiel #1
0
 static public int get_key(IntPtr l)
 {
     try {
         Hugula.UGUILocalize self = (Hugula.UGUILocalize)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.key);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
 static public int set_value(IntPtr l)
 {
     try {
         Hugula.UGUILocalize self = (Hugula.UGUILocalize)checkSelf(l);
         string v;
         checkType(l, 2, out v);
         self.value = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }