feture match with master
This commit is contained in:
+5
-1
@@ -15,6 +15,7 @@
|
||||
// namespaces
|
||||
#include "stdWullie/namespaces/print.h"
|
||||
#include "stdWullie/namespaces/convert.h"
|
||||
#include "stdWullie/namespaces/random.h"
|
||||
|
||||
// errors & exits
|
||||
#include "stdWullie/exit.h"
|
||||
@@ -23,11 +24,14 @@
|
||||
#include "stdWullie/time.h"
|
||||
|
||||
// file handling
|
||||
#include "stdWullie/definitions/umodetypes.h"
|
||||
#include "stdWullie/filehandle/closeOpen.h"
|
||||
#include "stdWullie/filehandle/readWrite.h"
|
||||
#include "stdWullie/filehandle/mkdir.h"
|
||||
|
||||
|
||||
// string extras
|
||||
// string
|
||||
#include "stdWullie/String/colours.h"
|
||||
|
||||
// congtates youse have made it to the end
|
||||
#endif
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// please see attached licence for full usage and rights
|
||||
|
||||
//defined like stdint to avoid confilict
|
||||
#ifdef _WrathINT
|
||||
|
||||
#ifndef _STDINT_H
|
||||
#define _STDINT_H 1
|
||||
@@ -52,4 +51,4 @@ typedef unsigned long size_t;
|
||||
#define INT32_MIN ((int32_t)(-INT32_MAX - 1))
|
||||
#define INT64_MIN ((int64_t)(-INT64_MAX - 1))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
#define UMODETYPES_H
|
||||
|
||||
#ifdef __linux__
|
||||
|
||||
#define DefaultMode 255
|
||||
#elif __FreeBSD__
|
||||
|
||||
#define DefaultMode 255
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// this code is licenced under Wrathmark licence
|
||||
// © 2026 wullie wulliestudio.com
|
||||
// please see attached licence for full usage and rights
|
||||
|
||||
// why i continue to do this i have no fucking clue
|
||||
long mkdir(const char *filePath, int mode);
|
||||
@@ -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