Update runahead headers

This commit is contained in:
twinaphex 2018-04-08 20:25:43 +02:00
parent a82bb0ec94
commit 460182fc63
5 changed files with 21 additions and 6 deletions

View File

@ -1,15 +1,17 @@
#ifndef __COPY_LOAD_INFO_H__
#define __COPY_LOAD_INFO_H__
#include <retro_common_api.h>
#include <libretro.h>
#include <boolean.h>
#include <libretro.h>
#include <retro_common_api.h>
#include "../core.h"
RETRO_BEGIN_DECLS
void set_load_content_info(const retro_ctx_load_content_info_t *ctx);
void set_last_core_type(enum rarch_core_type type);
RETRO_END_DECLS

View File

@ -4,9 +4,10 @@
#include <stddef.h>
#include <string.h>
#include <retro_common_api.h>
#include <boolean.h>
#include <retro_common_api.h>
#define FREE(xxxx) if ((xxxx) != NULL) { free((void*)(xxxx)); } (xxxx) = NULL
RETRO_BEGIN_DECLS

View File

@ -1,8 +1,9 @@
#ifndef __MYLIST_H__
#define __MYLIST_H__
#include <retro_common_api.h>
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
RETRO_BEGIN_DECLS
@ -19,11 +20,18 @@ typedef struct MyList_t
} MyList;
void *mylist_add_element(MyList *list);
void mylist_resize(MyList *list, int newSize, bool runConstructor);
void mylist_create(MyList **list_p, int initialCapacity, constructor_t constructor, destructor_t destructor);
void mylist_create(MyList **list_p, int initialCapacity,
constructor_t constructor, destructor_t destructor);
void mylist_destroy(MyList **list_p);
void mylist_assign(MyList *list, int index, void *value);
void mylist_remove_at(MyList *list, int index);
void mylist_pop_front(MyList *list);
RETRO_END_DECLS

View File

@ -1,7 +1,9 @@
#ifndef __RUN_AHEAD_H__
#define __RUN_AHEAD_H__
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
RETRO_BEGIN_DECLS

View File

@ -1,9 +1,11 @@
#ifndef __SECONDARY_CORE_H__
#define __SECONDARY_CORE_H__
#include <retro_common_api.h>
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
#include "../core_type.h"
RETRO_BEGIN_DECLS