diff --git a/src/namespace/ConversionNamespace.c b/src/namespace/ConversionNamespace.c new file mode 100644 index 0000000..c93a872 --- /dev/null +++ b/src/namespace/ConversionNamespace.c @@ -0,0 +1,15 @@ +// this code is licenced under Wrathmark licence +// © 2026 wullie wulliestudio.com +// please see attached licence for full usage and rights + +#include "stdWullie/namespaces/convert.h" + +int intParser(char *rawInt); +void upper(char string[]); +void lower(char string[]); + +const ConversionNameSpace convert = { + .toInt = intParser, + .toLower = lower, + .toUpper = upper, +}; diff --git a/src/namespace/printingNamespace.c b/src/namespace/printingNamespace.c new file mode 100644 index 0000000..4a360ba --- /dev/null +++ b/src/namespace/printingNamespace.c @@ -0,0 +1,18 @@ +// this code is licenced under Wrathmark licence +// © 2026 wullie wulliestudio.com +// please see attached licence for full usage and rights + +#include "stdWullie/namespaces/print.h" + +void printText(char *string); +void printReturn(char *string); +void ColourPrint(char *string, char *colour); +void BackgroundPrint(char *string, char *Bcolour); + +const PrintNameSpace print = { + .text = printText, + .nl = printReturn, + .colour = ColourPrint, + .background = BackgroundPrint, +}; +