Files
libstdwullie/include/stdWullie/namespaces/convert.h
T
2026-09-11 03:50:43 +01:00

28 lines
691 B
C

// 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
#include "stdWullie/definitions/int.h"
typedef struct{
// string manipulation
void (*toUpper)(char string[]);
void (*toLower)(char string[]);
// the numbers mason, what do they mean
const char *(*I32toStr)(int number);
const char *(*I64toStr)(int64_t number);
const char *(*U32toStr)(uint32_t number);
const char *(*U64toStr)(uint64_t number);
const char *(*FtoStr)(float number);
int (*toInt)(char *rawInt);
}ConversionNameSpace;
extern const ConversionNameSpace convert;
#endif