[teklib-general] teklib: genheader.lua: Added "linklib" generator; added teklib.i...

Timm S. Mueller tmueller at neoscientists.org
Sun Feb 15 17:06:00 CET 2009


details:   http://hg.teklib.org/teklib/rev/c9a1538c56b0
changeset: 249:c9a1538c56b0
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Sun Feb 15 17:03:33 2009 +0100
description:
genheader.lua: Added "linklib" generator; added teklib.idf; removed old plain
text exec and teklib documentation files and index.html

diffs (truncated from 4989 to 100 lines):

diff -r b124b7ad2240 -r c9a1538c56b0 doc/index.html
--- a/doc/index.html	Sat Feb 14 19:54:34 2009 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<html>
-	<head>
-		<title>
-			TEKlib Documentation
-		</title>
-	</head>
-
-	<frameset cols="120,*" frameborder=0 framespacing=0>
-		<frame src="html/navbar.html" name="Navigation" marginwidth=0 marginheight=0 noresize>
-		<frame src="html/readme.html" name="Content">
-	</frameset>
-
-	<body></body>
-</html>
diff -r b124b7ad2240 -r c9a1538c56b0 doc/manual.css
--- a/doc/manual.css	Sat Feb 14 19:54:34 2009 +0100
+++ b/doc/manual.css	Sun Feb 15 17:03:33 2009 +0100
@@ -10,6 +10,10 @@
 h1, h2, h3, h4 {
 	font-weight: normal;
 	font-style: italic;
+}
+
+a {
+	font-weight: bold;
 }
 
 a:link, a:visited {
diff -r b124b7ad2240 -r c9a1538c56b0 doc/manual.html
--- a/doc/manual.html	Sat Feb 14 19:54:34 2009 +0100
+++ b/doc/manual.html	Sun Feb 15 17:03:33 2009 +0100
@@ -11,7 +11,7 @@
 			TEKlib reference manual
 		</h1>
 		<h2>
-			Modules
+			Modules and libraries
 		</h2>
 		<blockquote>
 			<ul>
@@ -37,6 +37,9 @@
 					ps2
 				</li>
 				<li>
+					<a href="#teklib">teklib</a> 
+				</li>
+				<li>
 					util
 				</li>
 				<li>
@@ -45,6 +48,1060 @@
 			</ul>
 		</blockquote>
 		<hr />
+		<div class="node"><h2><a name="teklib" id="teklib">teklib </a></h2>
+			<div class="definition"><dfn>OVERVIEW</dfn>
+				<p>
+					The majority of TEKlib's functionality is located in shared modules.
+					The link libraries provide only functions to operate on elementary
+					datatypes (such as <a href="#lists">lists</a>, hooks and <a href="#taglists">taglists</a>), and they
+					help to ease the setup of applications, modules and tasks.
+				</p>
+			</div>
+			<div class="definition"><dfn>LIBRARIES</dfn>
+				<ul>
+					<li>
+						<code>tek</code> -
+						Common functions for elementary datatypes and module setup,
+						usually linked to modules
+					</li>
+					<li>
+						<code>tekc</code> -
+						Additionally provides <a href="#teklib:TEKCreate"><code>teklib:TEKCreate()</code></a>. This library is linked
+						to applications that wish to embed TEKlib, but do not use
+						<a href="#teklib:TEKMain"><code>teklib:TEKMain()</code></a> as their application entrypoint.
+					</li>
+					<li>
+						<code>tekcmain</code> -
+						Additionally resolves a platform-specific <code>main()</code> and calls
+						<a href="#teklib:TEKMain"><code>teklib:TEKMain()</code></a>. This is the typical C/C++ language startup of a
+						freestanding TEKlib application.
+					</li>
+					<li>
+						<code>tekmain</code> -
+						This library is based on <code>tekc</code> and additionally defines an
+						entrypoint for applications on platforms on which TEKlib constitutes
+						the operating system. This is the case on the Playstation 2
+						architecture, for example.
+					</li>
+				</ul>
+			</div>
+			<div class="definition"><dfn>FUNCTIONS</dfn>
+				<ul>
+					<li style="list-style-type: none">
+						<a href="#teklib:TAddHead"><code>teklib:TAddHead()</code></a> - Add a node at the head of a list
+					</li>


More information about the teklib-general mailing list