ref: b181ae1ac148414d6c7c6afb2c0a8eae1dd8566e
parent: 2dffc9a3e6e4fd3428e6674758117c3ba9bafa41
author: Robert Wilhelm <[email protected]>
date: Mon May 28 17:29:58 EDT 2001
Netware port by Ulrich Neumann.
--- /dev/null
+++ b/builds/netware/caller.c
@@ -1,0 +1,45 @@
+#include <stdio.h>
+
+extern long NLM_threadCnt;
+/* linker does not complain about this line:
+
+long NLM_threadCnt;
+
+i.e., no warning/error when you redefine an imported object
+-LS*/
+
+void *DEMOLIB2_Malloc(long size);
+int DEMOLIB2_Free(void *vp);
+
+void main(void)
+ {
+ void *vp;
+ int cCode;
+
+
+ vp=DEMOLIB2_Malloc(100);
+ if(vp == NULL)
+ {
+ printf("DEMOLIB2_Malloc(100) failed.\n");
+ goto END_ERR;
+ }
+ printf("Memory has been allocated. vp=%08X\n", vp);
+
+ END_ERR:
+
+
+ if(vp != NULL)
+ {
+ cCode=DEMOLIB2_Free(vp);
+ if(cCode != 0)
+ printf("DEMOLIB2_Free(vp) failed: %d\n", cCode);
+ else
+ printf("Memory has been freed.\n");
+ }
+
+ printf("Waiting for a keystroke before unloading....");
+ getch();
+
+ return;
+ }
+
\ No newline at end of file
binary files /dev/null b/builds/netware/freetype2.mcp differ
binary files /dev/null b/builds/netware/freetype2_Data/CWSettingsWindows.stg differ
binary files /dev/null b/builds/netware/freetype2_Data/libft2/TargetDataWindows.tdt differ
--- /dev/null
+++ b/builds/netware/libft2.exp
@@ -1,0 +1,44 @@
+FT_List_Add
+FT_List_Insert
+FT_List_Find
+FT_List_Remove
+FT_List_Up
+FT_List_Iterate
+FT_List_Finalize
+FT_Add_Module
+FT_Get_Module
+FT_Remove_Module
+FT_New_Library
+FT_Done_Library
+FT_Set_Debug_Hook
+FT_Add_Default_Modules
+FT_Init_FreeType
+FT_Done_FreeType
+FT_New_Face
+FT_Done_Face
+FT_New_Memory_Face
+FT_Open_Face
+FT_Attach_File
+FT_Attach_Stream
+FT_Set_Char_Size
+FT_Set_Pixel_Sizes
+FT_Set_Transform
+FT_Load_Glyph
+FT_Get_Char_Index
+FT_Load_Char
+FT_Render_Glyph
+FT_Get_Kerning
+FT_Get_Glyph_Name
+FT_Select_Charmap
+FT_Set_Charmap
+FT_Set_Renderer
+FT_Outline_New
+FT_Outline_Done
+FT_Outline_Copy
+FT_Outline_Translate
+FT_Outline_Transform
+FT_Outline_Reverse
+FT_Outline_Get_CBox
+FT_Outline_Get_Bitmap
+FT_Outline_Render
+FT_Outline_Decompose
--- /dev/null
+++ b/builds/netware/libft2.imp
@@ -1,0 +1,44 @@
+FT_List_Add
+FT_List_Insert
+FT_List_Find
+FT_List_Remove
+FT_List_Up
+FT_List_Iterate
+FT_List_Finalize
+FT_Add_Module
+FT_Get_Module
+FT_Remove_Module
+FT_New_Library
+FT_Done_Library
+FT_Set_Debug_Hook
+FT_Add_Default_Modules
+FT_Init_FreeType
+FT_Done_FreeType
+FT_New_Face
+FT_Done_Face
+FT_New_Memory_Face
+FT_Open_Face
+FT_Attach_File
+FT_Attach_Stream
+FT_Set_Char_Size
+FT_Set_Pixel_Sizes
+FT_Set_Transform
+FT_Load_Glyph
+FT_Get_Char_Index
+FT_Load_Char
+FT_Render_Glyph
+FT_Get_Kerning
+FT_Get_Glyph_Name
+FT_Select_Charmap
+FT_Set_Charmap
+FT_Set_Renderer
+FT_Outline_New
+FT_Outline_Done
+FT_Outline_Copy
+FT_Outline_Translate
+FT_Outline_Transform
+FT_Outline_Reverse
+FT_Outline_Get_CBox
+FT_Outline_Get_Bitmap
+FT_Outline_Render
+FT_Outline_Decompose
binary files /dev/null b/builds/netware/libft2.nlm differ
--- /dev/null
+++ b/builds/netware/main_NLM.c
@@ -1,0 +1,16 @@
+/* main_NLM.c
+ *
+ * This main is neccessary on NetWare so that libft2 remains resident.
+ * 2001 Ulrich Neumann
+ *
+ */
+
+
+#include <advanced.h>
+#include <stdlib.h>
+
+
+void main(void)
+{
+ ExitThread(TSR_THREAD, 0); /*so libft2�s symbols remain resident in symbol table*/
+}
\ No newline at end of file