huge redesign
This commit is contained in:
parent
46e26e41e5
commit
85d0bad350
4 changed files with 66 additions and 81 deletions
|
|
@ -9,6 +9,11 @@
|
|||
#include "arc/std/handler.h"
|
||||
|
||||
//NOTE: some of this file is temporary, mostly to get smthn running so I can test out different ideas
|
||||
#include "arc/graphics/none/window.h"
|
||||
#include "arc/graphics/none/renderer.h"
|
||||
#include "arc/input/none/mouse.h"
|
||||
#include "arc/input/none/keyboard.h"
|
||||
|
||||
#ifdef ARC_SDL
|
||||
#include "arc/graphics/sdl/window.h"
|
||||
#include "arc/graphics/sdl/renderer.h"
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
void ARC_IO_FileToStr(ARC_String *path, ARC_String **data){
|
||||
FILE *file = fopen(path->data, "rb");
|
||||
if(!file){
|
||||
return;
|
||||
arc_errno = ARC_ERRNO_NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
fseek(file, 0L, SEEK_END);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue