WiiDuktape/source/shared/include/wii_obj.h
Fries 08c96c9d07 work on getting quickjs ported to the wii.
i got it working but the port of my duktape code isn't done yet.
2024-06-26 16:33:02 -07:00

17 lines
415 B
C

#ifndef WII_OBJ_H
#define WII_OBJ_H
#include <grrlib.h>
typedef struct {
size_t size;
void * file_ptr;
const char * filename;
} shared_file_obj;
void shared_native_print(const char * message, GRRLIB_ttfFont * font);
void shared_native_exit(bool * running);
unsigned int shared_pad_buttons_down();
shared_file_obj shared_get_file(const char * filename);
bool shared_is_valid_file(shared_file_obj file);
#endif