From 7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Sun, 23 Jun 2019 07:42:16 +0800 Subject: LibPSn00b officially v0.10b, added psxsio library, better DrawSync() and VSync(), better reference manual. --- libpsn00b/include/stdlib.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libpsn00b/include/stdlib.h') diff --git a/libpsn00b/include/stdlib.h b/libpsn00b/include/stdlib.h index 3909796..f9f41db 100644 --- a/libpsn00b/include/stdlib.h +++ b/libpsn00b/include/stdlib.h @@ -41,6 +41,10 @@ void *calloc(int number, int size); void *realloc(void *buf , int n); */ +#ifdef __cplusplus +extern "C" { +#endif + int rand(); void srand(unsigned long seed); @@ -53,5 +57,9 @@ long double strtold(const char *nptr, char **endptr); double strtod(const char *nptr, char **endptr); float strtof(const char *nptr, char **endptr); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3