projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stylish updates.
[apps/madmutt.git]
/
lib-lua
/
runtime.c
diff --git
a/lib-lua/runtime.c
b/lib-lua/runtime.c
index
7a351ee
..
0fb777c
100644
(file)
--- a/
lib-lua/runtime.c
+++ b/
lib-lua/runtime.c
@@
-74,9
+74,9
@@
const char *mlua_reggets(int tk)
return registry[tk].s;
}
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;
}
return -1;
return registry[tk].i;
}
@@
-88,9
+88,9
@@
void mlua_regsets(int tk, const char *s)
registry[tk].s = m_strdup(s);
}
registry[tk].s = m_strdup(s);
}
-void mlua_regset
q(int tk, quadopt_t q
)
+void mlua_regset
i(int tk, int i
)
{
reg_entry_wipe(registry + tk);
{
reg_entry_wipe(registry + tk);
- registry[tk].type = REG_
QUAD
;
- registry[tk].i =
q
;
+ registry[tk].type = REG_
INT
;
+ registry[tk].i =
i
;
}
}