Netware port by Ulrich Neumann.
This commit is contained in:
parent
1ddd46d903
commit
92f3b135fd
45
builds/netware/caller.c
Normal file
45
builds/netware/caller.c
Normal file
@ -0,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;
|
||||
}
|
||||
|
BIN
builds/netware/freetype2.mcp
Normal file
BIN
builds/netware/freetype2.mcp
Normal file
Binary file not shown.
BIN
builds/netware/freetype2_Data/CWSettingsWindows.stg
Normal file
BIN
builds/netware/freetype2_Data/CWSettingsWindows.stg
Normal file
Binary file not shown.
BIN
builds/netware/freetype2_Data/libft2/TargetDataWindows.tdt
Normal file
BIN
builds/netware/freetype2_Data/libft2/TargetDataWindows.tdt
Normal file
Binary file not shown.
44
builds/netware/libft2.exp
Normal file
44
builds/netware/libft2.exp
Normal file
@ -0,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
|
44
builds/netware/libft2.imp
Normal file
44
builds/netware/libft2.imp
Normal file
@ -0,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
|
BIN
builds/netware/libft2.nlm
Normal file
BIN
builds/netware/libft2.nlm
Normal file
Binary file not shown.
16
builds/netware/main_NLM.c
Normal file
16
builds/netware/main_NLM.c
Normal file
@ -0,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*/
|
||||
}
|
Loading…
Reference in New Issue
Block a user