Upload files to "include/stdWullie/namespaces"
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user