projects
/
egate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0869c05
)
Bug fix: load_state macro invoked save_state method and vice versa!
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 29 Feb 1996 15:39:01 +0000
(15:39 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 29 Feb 1996 15:39:01 +0000
(15:39 +0000)
www/winterp.h
patch
|
blob
|
history
diff --git
a/www/winterp.h
b/www/winterp.h
index
a963ec7
..
d69ede1
100644
(file)
--- a/
www/winterp.h
+++ b/
www/winterp.h
@@
-41,7
+41,10
@@
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: winterp.h,v $
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: winterp.h,v $
- * Revision 1.4 1995/11/06 17:44:22 adam
+ * Revision 1.5 1996/02/29 15:39:01 adam
+ * Bug fix: load_state macro invoked save_state method and vice versa!
+ *
+ * Revision 1.4 1995/11/06 17:44:22 adam
* State reestablised when shell restarts. History of previous
* result sets.
*
* State reestablised when shell restarts. History of previous
* result sets.
*
@@
-78,8
+81,10
@@
typedef struct w_interp {
W_Interp w_interp_create (W_Interp_Type type, WCLIENT wcl, void *args);
#define w_interp_exec(w,f,p) (*(w)->ctrl->exec)((f),(p), (w)->mydata)
W_Interp w_interp_create (W_Interp_Type type, WCLIENT wcl, void *args);
#define w_interp_exec(w,f,p) (*(w)->ctrl->exec)((f),(p), (w)->mydata)
-#define w_interp_load_state(w,p) (*(w)->ctrl->save_state)((p), (w)->mydata)
-#define w_interp_save_state(w,p) (*(w)->ctrl->load_state)((p), (w)->mydata)
+#define w_interp_load_state(w,p) (*(w)->ctrl->load_state)((p), (w)->mydata)
+#define w_interp_save_state(w,p) (*(w)->ctrl->save_state)((p), (w)->mydata)
#define w_interp_name(w) ((w)->ctrl.name)
#define w_interp_name(w) ((w)->ctrl.name)
+void wshmain (int argc, char **argv, W_Interp_Type w_interp_type);
+
#endif
#endif