shengine pre-release
shengine by mrsinho
Loading...
Searching...
No Matches
shFileUtilities.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define shReadBinary(path, p_code_size)    shReadCode(path, "rb", p_code_size)
 
#define shReadText(path, p_code_size)    shReadCode(path, "r", p_code_size)
 

Functions

const char * shReadCode (const char *path, const char *mode, uint32_t *p_code_size)
 

Macro Definition Documentation

◆ shReadBinary

#define shReadBinary (   path,
  p_code_size 
)     shReadCode(path, "rb", p_code_size)

◆ shReadText

#define shReadText (   path,
  p_code_size 
)     shReadCode(path, "r", p_code_size)

Function Documentation

◆ shReadCode()

const char * shReadCode ( const char *  path,
const char *  mode,
uint32_t *  p_code_size 
)
extern