Commit 92f3b135 authored by Robert Wilhelm's avatar Robert Wilhelm
Browse files

Netware port by Ulrich Neumann.

parent 1ddd46d9
#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
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
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
/* 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 libft2s symbols remain resident in symbol table*/
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment