From 3b696fc431a9c3f2aa7ea4f27aec20ce5dd67859 Mon Sep 17 00:00:00 2001 From: spicyjpeg Date: Thu, 11 May 2023 19:11:35 +0200 Subject: Add C++ standard library headers, update beginner/cppdemo --- libpsn00b/include/cctype | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libpsn00b/include/cctype (limited to 'libpsn00b/include/cctype') diff --git a/libpsn00b/include/cctype b/libpsn00b/include/cctype new file mode 100644 index 0000000..b73ad34 --- /dev/null +++ b/libpsn00b/include/cctype @@ -0,0 +1,22 @@ +/* + * PSn00bSDK standard library + * (C) 2019-2023 PSXSDK authors, Lameguy64, spicyjpeg - MPL licensed + */ + +#pragma once + +namespace std { +extern "C" { + +int isprint(int ch); +int isgraph(int ch); +int isspace(int ch); +int isblank(int ch); +int isalpha(int ch); +int isdigit(int ch); + +int tolower(int ch); +int toupper(int ch); + +} +} -- cgit v1.2.3