[teklib-general] teklib: Exec interface description corrected; exec headers regen...
Timm S. Mueller
tmueller at neoscientists.org
Sun Feb 22 18:19:37 CET 2009
details: http://hg.teklib.org/teklib/rev/937992b1d8d8
changeset: 253:937992b1d8d8
user: Timm S. Mueller <tmueller at neoscientists.org>
date: Wed Feb 18 14:01:36 2009 +0100
description:
Exec interface description corrected; exec headers regenerated
diffs (truncated from 124 to 100 lines):
diff -r b76d2aaecec8 -r 937992b1d8d8 src/lua/lua_mod.c
--- a/src/lua/lua_mod.c Wed Feb 18 13:18:15 2009 +0100
+++ b/src/lua/lua_mod.c Wed Feb 18 14:01:36 2009 +0100
@@ -44,6 +44,7 @@
#include <tek/teklib.h>
#include <tek/proto/exec.h>
#include <tek/proto/io.h>
+#include <tek/mod/time.h>
#include <tek/mod/luabase.h>
#define LUAMOD_VERSION 1
diff -r b76d2aaecec8 -r 937992b1d8d8 tek/idf/exec.idf
--- a/tek/idf/exec.idf Wed Feb 18 13:18:15 2009 +0100
+++ b/tek/idf/exec.idf Wed Feb 18 14:01:36 2009 +0100
@@ -1445,7 +1445,7 @@
; exec:TCreateLock()
;
;------------------------------------------------------------------------------
-;struct TAtom *LockAtom(TAPTR atom, TUINT mode)
+struct TAtom *LockAtom(TAPTR atom, TUINT mode)
;------------------------------------------------------------------------------
;
diff -r b76d2aaecec8 -r 937992b1d8d8 tek/inline/exec.h
--- a/tek/inline/exec.h Wed Feb 18 13:18:15 2009 +0100
+++ b/tek/inline/exec.h Wed Feb 18 14:01:36 2009 +0100
@@ -20,10 +20,10 @@
(*(((TMODCALL void(**)(TAPTR,struct TModule *))(TExecBase))[-13]))(TExecBase,mod)
#define TCopyMem(src,dst,len) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR,TAPTR,TUINT))(TExecBase))[-14]))(TExecBase,src,dst,len)
+ (*(((TMODCALL void(**)(TAPTR,TAPTR,TAPTR,TSIZE))(TExecBase))[-14]))(TExecBase,src,dst,len)
#define TFillMem(dst,len,val) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR,TUINT,TUINT8))(TExecBase))[-15]))(TExecBase,dst,len,val)
+ (*(((TMODCALL void(**)(TAPTR,TAPTR,TSIZE,TUINT8))(TExecBase))[-15]))(TExecBase,dst,len,val)
#define TCreateMemManager(object,type,tags) \
(*(((TMODCALL struct TMemManager *(**)(TAPTR,TAPTR,TUINT,TTAGITEM *))(TExecBase))[-16]))(TExecBase,object,type,tags)
@@ -134,13 +134,13 @@
(*(((TMODCALL struct TAtom *(**)(TAPTR,TAPTR,TUINT))(TExecBase))[-51]))(TExecBase,atom,mode)
#define TUnlockAtom(atom,mode) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR,TUINT))(TExecBase))[-52]))(TExecBase,atom,mode)
+ (*(((TMODCALL void(**)(TAPTR,struct TAtom *,TUINT))(TExecBase))[-52]))(TExecBase,atom,mode)
#define TGetAtomData(atom) \
- (*(((TMODCALL TTAG(**)(TAPTR,TAPTR))(TExecBase))[-53]))(TExecBase,atom)
+ (*(((TMODCALL TTAG(**)(TAPTR,struct TAtom *))(TExecBase))[-53]))(TExecBase,atom)
#define TSetAtomData(atom,data) \
- (*(((TMODCALL TTAG(**)(TAPTR,TAPTR,TTAG))(TExecBase))[-54]))(TExecBase,atom,data)
+ (*(((TMODCALL TTAG(**)(TAPTR,struct TAtom *,TTAG))(TExecBase))[-54]))(TExecBase,atom,data)
#define TCreatePool(tags) \
(*(((TMODCALL struct TMemPool *(**)(TAPTR,TTAGITEM *))(TExecBase))[-55]))(TExecBase,tags)
@@ -191,10 +191,10 @@
(*(((TMODCALL TBOOL(**)(TAPTR,struct TModInitNode *,TUINT))(TExecBase))[-70]))(TExecBase,im,flags)
#define TAllocTimeRequest(tags) \
- (*(((TMODCALL TAPTR(**)(TAPTR,TTAGITEM *))(TExecBase))[-71]))(TExecBase,tags)
+ (*(((TMODCALL struct TTimeRequest *(**)(TAPTR,TTAGITEM *))(TExecBase))[-71]))(TExecBase,tags)
#define TFreeTimeRequest(req) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR))(TExecBase))[-72]))(TExecBase,req)
+ (*(((TMODCALL void(**)(TAPTR,struct TTimeRequest *))(TExecBase))[-72]))(TExecBase,req)
#define TGetSystemTime(t) \
(*(((TMODCALL void(**)(TAPTR,TTIME *))(TExecBase))[-73]))(TExecBase,t)
diff -r b76d2aaecec8 -r 937992b1d8d8 tek/stdcall/exec.h
--- a/tek/stdcall/exec.h Wed Feb 18 13:18:15 2009 +0100
+++ b/tek/stdcall/exec.h Wed Feb 18 14:01:36 2009 +0100
@@ -16,8 +16,6 @@
#define TExecCreateSysTask(exec,func,tags) \
(*(((TMODCALL struct TTask *(**)(TAPTR,TTASKFUNC,TTAGITEM *))(exec))[-10]))(exec,func,tags)
-/* -- Grant access to the HAL module base, needed by device drivers -- */
-
#define TExecGetHALBase(exec) \
(*(((TMODCALL struct THALBase *(**)(TAPTR))(exec))[-11]))(exec)
@@ -28,10 +26,10 @@
(*(((TMODCALL void(**)(TAPTR,struct TModule *))(exec))[-13]))(exec,mod)
#define TExecCopyMem(exec,src,dst,len) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR,TAPTR,TUINT))(exec))[-14]))(exec,src,dst,len)
+ (*(((TMODCALL void(**)(TAPTR,TAPTR,TAPTR,TSIZE))(exec))[-14]))(exec,src,dst,len)
#define TExecFillMem(exec,dst,len,val) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR,TUINT,TUINT8))(exec))[-15]))(exec,dst,len,val)
+ (*(((TMODCALL void(**)(TAPTR,TAPTR,TSIZE,TUINT8))(exec))[-15]))(exec,dst,len,val)
#define TExecCreateMemManager(exec,object,type,tags) \
(*(((TMODCALL struct TMemManager *(**)(TAPTR,TAPTR,TUINT,TTAGITEM *))(exec))[-16]))(exec,object,type,tags)
@@ -142,13 +140,13 @@
(*(((TMODCALL struct TAtom *(**)(TAPTR,TAPTR,TUINT))(exec))[-51]))(exec,atom,mode)
#define TExecUnlockAtom(exec,atom,mode) \
- (*(((TMODCALL void(**)(TAPTR,TAPTR,TUINT))(exec))[-52]))(exec,atom,mode)
+ (*(((TMODCALL void(**)(TAPTR,struct TAtom *,TUINT))(exec))[-52]))(exec,atom,mode)
More information about the teklib-general
mailing list