mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Tweak
This commit is contained in:
@@ -5,6 +5,8 @@ This header provides a number of tools for compiling and running Toy, and is use
|
|||||||
|
|
||||||
This is not a core part of Toy or a library, and as such `repl_tools.h` and `repl_tools.c` can both be found in the `repl/` folder.
|
This is not a core part of Toy or a library, and as such `repl_tools.h` and `repl_tools.c` can both be found in the `repl/` folder.
|
||||||
|
|
||||||
|
## Defined Functions
|
||||||
|
|
||||||
### const char* Toy_readFile(const char* path, size_t* fileSize)
|
### const char* Toy_readFile(const char* path, size_t* fileSize)
|
||||||
|
|
||||||
This function reads in a file, and returns it as a constant buffer. It also sets the variable pointed to by `fileSize` to the size of the given buffer.
|
This function reads in a file, and returns it as a constant buffer. It also sets the variable pointed to by `fileSize` to the size of the given buffer.
|
||||||
|
|||||||
Reference in New Issue
Block a user