stylish updates.
[apps/madmutt.git] / lib-lua / runtime.c
index 7a351ee..0fb777c 100644 (file)
@@ -74,9 +74,9 @@ const char *mlua_reggets(int tk)
     return registry[tk].s;
 }
 
-quadopt_t mlua_reggetq(int tk)
+int mlua_reggeti(int tk)
 {
-    if (registry[tk].type != REG_QUAD)
+    if (registry[tk].type != REG_INT)
         return -1;
     return registry[tk].i;
 }
@@ -88,9 +88,9 @@ void mlua_regsets(int tk, const char *s)
     registry[tk].s    = m_strdup(s);
 }
 
-void mlua_regsetq(int tk, quadopt_t q)
+void mlua_regseti(int tk, int i)
 {
     reg_entry_wipe(registry + tk);
-    registry[tk].type = REG_QUAD;
-    registry[tk].i    = q;
+    registry[tk].type = REG_INT;
+    registry[tk].i    = i;
 }