mirror of https://github.com/freetype/freetype
remong the "netware" directory, it was too big for a source release
(904 Kb !!)
This commit is contained in:
parent
b181ae1ac1
commit
f9e51f3ceb
|
@ -1,45 +0,0 @@
|
|||
#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;
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,44 +0,0 @@
|
|||
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
|
|
@ -1,44 +0,0 @@
|
|||
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 file not shown.
|
@ -1,16 +0,0 @@
|
|||
/* 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