feture match with master
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#ifndef TYPECONVERSION_H
|
||||
#define TYPECONVERSION_H
|
||||
|
||||
#include "stdWullie/definitions/int.h"
|
||||
|
||||
typedef struct{
|
||||
|
||||
// string manipulation
|
||||
@@ -12,7 +14,10 @@ typedef struct{
|
||||
void (*toLower)(char string[]);
|
||||
|
||||
// the numbers mason, what do they mean
|
||||
const char *(*ItoStr)(int number);
|
||||
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);
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
// this code is licenced under Wrathmark licence
|
||||
// © 2026 wullie wulliestudio.com
|
||||
// please see attached licence for full usage and rights
|
||||
|
||||
#ifndef WRATHRANDOM_H
|
||||
#define WRATHRANDOM_H
|
||||
|
||||
#include "stdWullie/definitions/int.h"
|
||||
|
||||
typedef struct{
|
||||
uint32_t (*xor32)(void);
|
||||
uint64_t (*xor64)(void);
|
||||
int (*choice)(int min, int max)
|
||||
}RandomNameSpace;
|
||||
|
||||
extern const RandomNameSpace random;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user