[tekui-devel] tekui: Merged in latest changes from TEKlib main development branch
Timm S. Mueller
tmueller at schulze-mueller.de
Sat Mar 28 23:02:43 CET 2009
details: http://hg.teklib.org/tekui/rev/ec76f313013a
changeset: 66:ec76f313013a
user: Timm S. Mueller <tmueller at schulze-mueller.de>
date: Tue Mar 24 12:00:46 2009 +0100
description:
Merged in latest changes from TEKlib main development branch
diffs (truncated from 795 to 100 lines):
diff -r 00286a08988a -r ec76f313013a bin/tek/ui/class/meter.lua
--- a/bin/tek/ui/class/meter.lua Tue Mar 17 17:40:52 2009 +0100
+++ b/bin/tek/ui/class/meter.lua Tue Mar 24 12:00:46 2009 +0100
@@ -5,7 +5,7 @@
-- See copyright notice in COPYRIGHT
--
-- This class paints sets of 256 16bit numbers coming in as MSG_USER,
--- for which it registeres an input handler with the application.
+-- for which it registers an input handler with the application.
--
local ui = require "tek.ui"
diff -r 00286a08988a -r ec76f313013a include/tek/exec.h
--- a/include/tek/exec.h Tue Mar 17 17:40:52 2009 +0100
+++ b/include/tek/exec.h Tue Mar 24 12:00:46 2009 +0100
@@ -104,6 +104,8 @@
#define TMSG_INITTASK 8
/* Call task procedure: */
#define TMSG_RUNTASK 9
+/* Get next entry: */
+#define TMSG_GETNEXTENTRY 10
/* Offset to user-defined hook messages: */
#define TMSG_USER 0x1000
@@ -412,6 +414,13 @@
#define TPool_Static (TEXECTAGS_ + 70)
#define TPool_StaticSize (TEXECTAGS_ + 71)
+/*
+** Tags for module scanning
+*/
+
+#define TExec_ModuleName (TEXECTAGS_ + 80)
+#define TExec_ModulePrefix (TEXECTAGS_ + 81)
+
/*****************************************************************************/
/*
** Message status, as returned by TExecSendMsg().
diff -r 00286a08988a -r ec76f313013a include/tek/inline/exec.h
--- a/include/tek/inline/exec.h Tue Mar 17 17:40:52 2009 +0100
+++ b/include/tek/inline/exec.h Tue Mar 24 12:00:46 2009 +0100
@@ -211,4 +211,7 @@
#define TWaitDate(dt,sig) \
(*(((TMODCALL TUINT(**)(TAPTR,TDATE *,TUINT))(TExecBase))[-77]))(TExecBase,dt,sig)
+#define TScanModules(tags) \
+ (*(((TMODCALL struct THandle *(**)(TAPTR,TTAGITEM *))(TExecBase))[-78]))(TExecBase,tags)
+
#endif /* _TEK_INLINE_EXEC_H */
diff -r 00286a08988a -r ec76f313013a include/tek/stdcall/exec.h
--- a/include/tek/stdcall/exec.h Tue Mar 17 17:40:52 2009 +0100
+++ b/include/tek/stdcall/exec.h Tue Mar 24 12:00:46 2009 +0100
@@ -221,4 +221,7 @@
#define TExecWaitDate(exec,dt,sig) \
(*(((TMODCALL TUINT(**)(TAPTR,TDATE *,TUINT))(exec))[-77]))(exec,dt,sig)
+#define TExecScanModules(exec,tags) \
+ (*(((TMODCALL struct THandle *(**)(TAPTR,TTAGITEM *))(exec))[-78]))(exec,tags)
+
#endif /* _TEK_STDCALL_EXEC_H */
diff -r 00286a08988a -r ec76f313013a include/tek/string.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/include/tek/string.h Tue Mar 24 12:00:46 2009 +0100
@@ -0,0 +1,35 @@
+#ifndef _TEK_STRING_H
+#define _TEK_STRING_H
+
+/*
+** teklib/tek/string.h - string link library functions
+**
+** Written by Timm S. Mueller <tmueller at neoscientists.org>
+** See copyright notice in teklib/COPYRIGHT
+*/
+
+#include <tek/exec.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+TLIBAPI TSIZE TStrLen(TSTRPTR s);
+TLIBAPI TSTRPTR TStrCpy(TSTRPTR d, TSTRPTR s);
+TLIBAPI TSTRPTR TStrNCpy(TSTRPTR d, TSTRPTR s, TSIZE maxlen);
+TLIBAPI TSTRPTR TStrCat(TSTRPTR d, TSTRPTR s);
+TLIBAPI TSTRPTR TStrNCat(TSTRPTR d, TSTRPTR s, TSIZE maxlen);
+TLIBAPI TINT TStrCmp(TSTRPTR s, TSTRPTR s2);
+TLIBAPI TINT TStrNCmp(TSTRPTR s, TSTRPTR s2, TSIZE maxlen);
+TLIBAPI TINT TStrCaseCmp(TSTRPTR s1, TSTRPTR s2);
+TLIBAPI TINT TStrNCaseCmp(TSTRPTR s1, TSTRPTR s2, TSIZE maxlen);
+TLIBAPI TSTRPTR TStrStr(TSTRPTR a, TSTRPTR b);
+TLIBAPI TSTRPTR TStrChr(TSTRPTR s, TINT c);
+TLIBAPI TSTRPTR TStrRChr(TSTRPTR s, TINT c);
+TLIBAPI TINT TStrToI(TSTRPTR s, TINT *valp);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _TEK_STRING */
diff -r 00286a08988a -r ec76f313013a include/tek/teklib.h
More information about the tekui-devel
mailing list