From c3b39135f6f1fbaa89bb5527460c520d8bc5ad85 Mon Sep 17 00:00:00 2001 From: wullie <1+wullie@noreply.localhost> Date: Tue, 11 Aug 2026 21:10:25 +0000 Subject: [PATCH] Upload files to "include/stdWullie/namespaces" --- include/stdWullie/namespaces/convert.h | 22 ++++++++++++++++++++++ include/stdWullie/namespaces/print.h | 17 +++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 include/stdWullie/namespaces/convert.h create mode 100644 include/stdWullie/namespaces/print.h diff --git a/include/stdWullie/namespaces/convert.h b/include/stdWullie/namespaces/convert.h new file mode 100644 index 0000000..8d8072d --- /dev/null +++ b/include/stdWullie/namespaces/convert.h @@ -0,0 +1,22 @@ +// this code is licenced under Wrathmark licence +// © 2026 wullie wulliestudio.com +// please see attached licence for full usage and rights + +#ifndef TYPECONVERSION_H +#define TYPECONVERSION_H + +typedef struct{ + + // string manipulation + void (*toUpper)(char string[]); + void (*toLower)(char string[]); + + // the numbers mason, what do they mean + const char *(*ItoStr)(int number); + const char *(*FtoStr)(float number); + int (*toInt)(char *rawInt); + +}ConversionNameSpace; + +extern const ConversionNameSpace convert; +#endif diff --git a/include/stdWullie/namespaces/print.h b/include/stdWullie/namespaces/print.h new file mode 100644 index 0000000..de3fc58 --- /dev/null +++ b/include/stdWullie/namespaces/print.h @@ -0,0 +1,17 @@ +// this code is licenced under Wrathmark licence +// © 2026 wullie wulliestudio.com +// please see attached licence for full usage and rights + +#ifndef PRINT_H +#define PRINT_H + +typedef struct{ + void (*text)(char *string); + void (*nl)(char *string); + void (*colour)(char *string, char *colour); + void (*background)(char *string, char *Bcolour); +}PrintNameSpace; + +extern const PrintNameSpace print; + +#endif