[tekui-devel] tekui: Merged changes from TEKlib main development branch; amalg...
Timm S. Mueller
tmueller at schulze-mueller.de
Sun Feb 1 15:00:33 CET 2009
details: http://hg.teklib.org/tekui/rev/4b6a287132f0
changeset: 47:4b6a287132f0
user: Timm S. Mueller <tmueller at schulze-mueller.de>
date: Thu Jan 22 17:25:10 2009 +0100
description:
Merged changes from TEKlib main development branch; amalgamed build for Visual
module added
diffs (truncated from 2856 to 100 lines):
diff -r f69a45699b72 -r 4b6a287132f0 config
--- a/config Wed Jan 14 13:10:43 2009 +0100
+++ b/config Thu Jan 22 17:25:10 2009 +0100
@@ -51,8 +51,8 @@
#------------------------------------------------------------------------------
CC = gcc
-DEBUG = -g -DTDEBUG=10
-WARN = -Wall -Wno-unused-parameter
+DEBUG = -g
+WARN = -Wall -Wno-unused-parameter -Wno-unused
OPT = -O2
INCL = -I. -Iinclude -I$(INCDIR)
LIBCFLAGS = $(DEBUG) $(WARN) $(OPT) $(INCL) $(EXTRADEFS) -fpic
diff -r f69a45699b72 -r 4b6a287132f0 include/tek/exec.h
--- a/include/tek/exec.h Wed Jan 14 13:10:43 2009 +0100
+++ b/include/tek/exec.h Thu Jan 22 17:25:10 2009 +0100
@@ -461,6 +461,15 @@
/*****************************************************************************/
/*
+** Execbase command codes:
+*/
+
+#define TEXEC_CMD_RUN 0
+#define TEXEC_CMD_INIT 1
+#define TEXEC_CMD_EXIT 2
+
+/*****************************************************************************/
+/*
** Macro versions of some library functions
*/
diff -r f69a45699b72 -r 4b6a287132f0 include/tek/inline/exec.h
--- a/include/tek/inline/exec.h Wed Jan 14 13:10:43 2009 +0100
+++ b/include/tek/inline/exec.h Thu Jan 22 17:25:10 2009 +0100
@@ -209,19 +209,19 @@
#define TFreeTimeRequest(req) \
(*(((TMODCALL void(**)(TAPTR,TAPTR))(TExecBase))[-76]))(TExecBase,req)
-#define TGetSystemTime(req,t) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR,TTIME *))(TExecBase))[-77]))(TExecBase,req,t)
+#define TGetSystemTime(t) \
+ (*(((TMODCALL void(**)(TAPTR,TTIME *))(TExecBase))[-77]))(TExecBase,t)
-#define TGetUniversalDate(req,dt) \
- (*(((TMODCALL TINT(**)(TAPTR,TAPTR,TDATE *))(TExecBase))[-78]))(TExecBase,req,dt)
+#define TGetUniversalDate(dt) \
+ (*(((TMODCALL TINT(**)(TAPTR,TDATE *))(TExecBase))[-78]))(TExecBase,dt)
-#define TGetLocalDate(req,dt) \
- (*(((TMODCALL TINT(**)(TAPTR,TAPTR,TDATE *))(TExecBase))[-79]))(TExecBase,req,dt)
+#define TGetLocalDate(dt) \
+ (*(((TMODCALL TINT(**)(TAPTR,TDATE *))(TExecBase))[-79]))(TExecBase,dt)
-#define TWaitTime(req,t,sig) \
- (*(((TMODCALL TUINT(**)(TAPTR,TAPTR,TTIME *,TUINT))(TExecBase))[-80]))(TExecBase,req,t,sig)
+#define TWaitTime(t,sig) \
+ (*(((TMODCALL TUINT(**)(TAPTR,TTIME *,TUINT))(TExecBase))[-80]))(TExecBase,t,sig)
-#define TWaitDate(req,dt,sig) \
- (*(((TMODCALL TUINT(**)(TAPTR,TAPTR,TDATE *,TUINT))(TExecBase))[-81]))(TExecBase,req,dt,sig)
+#define TWaitDate(dt,sig) \
+ (*(((TMODCALL TUINT(**)(TAPTR,TDATE *,TUINT))(TExecBase))[-81]))(TExecBase,dt,sig)
#endif /* _TEK_INLINE_EXEC_H */
diff -r f69a45699b72 -r 4b6a287132f0 include/tek/mod/exec.h
--- a/include/tek/mod/exec.h Wed Jan 14 13:10:43 2009 +0100
+++ b/include/tek/mod/exec.h Thu Jan 22 17:25:10 2009 +0100
@@ -353,7 +353,7 @@
TINT tsk_IOErr;
/* I/O module base ptr */
- TAPTR tsk_IOBase;
+ struct TIOBase *tsk_IOBase;
/* Input stream */
TAPTR tsk_FHIn;
@@ -361,6 +361,9 @@
TAPTR tsk_FHOut;
/* Error stream */
TAPTR tsk_FHErr;
+
+ /* Task time request: */
+ TAPTR tsk_TimeReq;
/* Task flags, see below */
TUINT tsk_Flags;
diff -r f69a45699b72 -r 4b6a287132f0 include/tek/stdcall/exec.h
--- a/include/tek/stdcall/exec.h Wed Jan 14 13:10:43 2009 +0100
+++ b/include/tek/stdcall/exec.h Thu Jan 22 17:25:10 2009 +0100
@@ -11,8 +11,8 @@
/* -- Functions for bootstrapping Exec, not needed outside init code -- */
-#define TExecDoExec(exec,tags) \
- (*(((TMODCALL TBOOL(**)(TAPTR,TTAGITEM *))(exec))[-9]))(exec,tags)
+#define TExecDoExec(exec,cmd,tags) \
+ (*(((TMODCALL TBOOL(**)(TAPTR,TUINT,TTAGITEM *))(exec))[-9]))(exec,cmd,tags)
More information about the tekui-devel
mailing list