From b5fe41f41a88f3763d02db4f2dfa7e13617e9fc3 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 4 Feb 2020 16:55:24 +0100 Subject: Review libc dependencies and remove when possible Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers --- src/utils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 8b8fb3ec..f9dc5667 100644 --- a/src/utils.c +++ b/src/utils.c @@ -78,7 +78,6 @@ static UWPMessage *UWPInMessages[MAX_UWP_MESSAGES]; // Messages in from UWP // Module specific Functions Declaration //---------------------------------------------------------------------------------- #if defined(PLATFORM_ANDROID) -// This should be in , but Travis does not find it... FILE *funopen(const void *cookie, int (*readfn)(void *, char *, int), int (*writefn)(void *, const char *, int), fpos_t (*seekfn)(void *, fpos_t, int), int (*closefn)(void *)); -- cgit v1.2.3