Initial rework

This commit is contained in:
2026-06-25 02:45:43 +00:00
commit 24b46f7fc2
56 changed files with 2166 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#if defined(_WIN32) && defined(_PRINT_BUILD_DLL)
# define PRINTAPI __declspec(dllexport)
#elif defined(_WIN32) && defined(PRINT_DLL)
# define PRINTAPI __declspec(dllimport)
#elif defined(__GNUC__) && defined(_PRINT_BUILD_DLL)
# define PRINTAPI __attribute__((visibility("default")))
#else
# define PRINTAPI
#endif
PRINTAPI void print(const char* msg);