gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/gsl-shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'gsl-shell.h')
-rw-r--r--gsl-shell.h 17
1 files changed, 16 insertions, 1 deletions
diff --git a/gsl-shell.h b/gsl-shell.h
index af7088b5..3b575e98 100644
--- a/gsl-shell.h
+++ b/gsl-shell.h
@@ -1,6 +1,21 @@
#ifndef GSL_SHELL_INCLUDED
#define GSL_SHELL_INCLUDED
-extern int error_report (lua_State *L, int status);
+#include "defs.h"
+#include <pthread.h>
+
+__BEGIN_DECLS
+
+#include "lua.h"
+
+extern int error_report (lua_State *L, int status);
+extern void gsl_shell_unref_plot (int id);
+
+extern pthread_mutex_t gsl_shell_mutex[1];
+
+__END_DECLS
+
+#define GSL_SHELL_LOCK() pthread_mutex_lock (gsl_shell_mutex)
+#define GSL_SHELL_UNLOCK() pthread_mutex_unlock (gsl_shell_mutex)
#endif
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月16日 15:49:42 +0000

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