summaryrefslogtreecommitdiff
path: root/libfreetype/ftsysmem.c
diff options
context:
space:
mode:
authorDavid Boddie <david@boddie.org.uk>2024-02-28 01:52:58 +0100
committerDavid Boddie <david@boddie.org.uk>2024-02-28 01:52:58 +0100
commitcbd016cda002145743d87224f0a9f9068abbfc67 (patch)
treebcfcc9b11ea078a5fa42b16f7ea98a29d112d040 /libfreetype/ftsysmem.c
parent75323f4992b2b4e593bd2f548db9ac6897e894d3 (diff)
Removed libfreetype fork, replacing it with a submodule and some Inferno-specific files.
Retained the license documents and updated the header files.
Diffstat (limited to 'libfreetype/ftsysmem.c')
-rw-r--r--libfreetype/ftsysmem.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/libfreetype/ftsysmem.c b/libfreetype/ftsysmem.c
deleted file mode 100644
index 6a34f693..00000000
--- a/libfreetype/ftsysmem.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <ft2build.h>
-#include FT_SYSTEM_MEMORY_H
-
- static FT_Memory
- ft_memory_new_default( FT_ULong size )
- {
- return (FT_Memory) ft_malloc( size );
- }
-
- static void
- ft_memory_destroy_default( FT_Memory memory )
- {
- ft_free( memory );
- }
-
-
- /* notice that in normal builds, we use the ISO C library functions */
- /* 'malloc', 'free' and 'realloc' directly.. */
- /* */
- static const FT_Memory_FuncsRec ft_memory_funcs_default_rec =
- {
- (FT_Memory_CreateFunc) ft_memory_new_iso,
- (FT_Memory_DestroyFunc) ft_memory_destroy_iso,
- (FT_Memory_AllocFunc) ft_malloc,
- (FT_Memory_FreeFunc) ft_free,
- (FT_Memory_ReallocFunc) ft_realloc
- };
-
- FT_APIVAR_DEF( const FT_Memory_Funcs )
- ft_memory_funcs_default = &ft_memory_funcs_defaults_rec;