gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/object-index.h
diff options
context:
space:
mode:
Diffstat (limited to 'object-index.h')
-rw-r--r--object-index.h 19
1 files changed, 5 insertions, 14 deletions
diff --git a/object-index.h b/object-index.h
index dd19c3f6..a2bc0a73 100644
--- a/object-index.h
+++ b/object-index.h
@@ -7,21 +7,12 @@ __BEGIN_DECLS
#include "lua.h"
-/* We have currently just one class of objects that have a unique ID, windows.
- At some moments during development this machinary was also used for plots.
- Because we have just one object type that get an id the code could be
- potentially simplified. */
-enum object_class_e {
- OBJECT_WINDOW = 0,
- /* OBJECT_PLOT, */
-};
-
extern void object_index_prepare (lua_State *L);
-extern int object_index_add (lua_State *L, int obj_class, int index);
-extern void object_index_get (lua_State *L, int obj_class, int id);
-extern void object_index_remove (lua_State *L, int obj_class, int id);
-extern void object_index_apply_all (lua_State *L, int obj_class, lua_CFunction f);
-extern int object_index_count (lua_State *L, int obj_class);
+extern int object_index_add (lua_State *L, int index);
+extern void object_index_get (lua_State *L, int id);
+extern void object_index_remove (lua_State *L, int id);
+extern void object_index_apply_all (lua_State *L, lua_CFunction f);
+extern int object_index_count (lua_State *L);
__END_DECLS
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月30日 01:14:09 +0000

AltStyle によって変換されたページ (->オリジナル) /