RetroArch
Classes | Macros | Functions
internal.h File Reference
#include "rcheevos.h"
Include dependency graph for internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  rc_scratch_t
 

Macros

#define RC_OFFSETOF(s, f)   ((int)(long long)(&((s*)0)->f))
 
#define RC_ALIGNOF(t)   RC_OFFSETOF(struct{char c; t d;}, d)
 
#define RC_ALLOC(t, p, o, s)   ((t*)rc_alloc(p, o, sizeof(t), RC_ALIGNOF(t), s))
 

Functions

voidrc_alloc (void *pointer, int *offset, int size, int alignment, rc_scratch_t *scratch)
 
void rc_parse_trigger_internal (rc_trigger_t *self, int *ret, void *buffer, rc_scratch_t *scratch, const char **memaddr, lua_State *L, int funcs_ndx)
 
rc_condset_trc_parse_condset (int *ret, void *buffer, rc_scratch_t *scratch, const char **memaddr, lua_State *L, int funcs_ndx)
 
int rc_test_condset (rc_condset_t *self, int *reset, rc_peek_t peek, void *ud, lua_State *L)
 
void rc_reset_condset (rc_condset_t *self)
 
rc_condition_trc_parse_condition (int *ret, void *buffer, rc_scratch_t *scratch, const char **memaddr, lua_State *L, int funcs_ndx)
 
int rc_test_condition (rc_condition_t *self, unsigned add_buffer, rc_peek_t peek, void *ud, lua_State *L)
 
int rc_parse_operand (rc_operand_t *self, const char **memaddr, int is_trigger, lua_State *L, int funcs_ndx)
 
unsigned rc_evaluate_operand (rc_operand_t *self, rc_peek_t peek, void *ud, lua_State *L)
 
rc_term_trc_parse_term (int *ret, void *buffer, rc_scratch_t *scratch, const char **memaddr, lua_State *L, int funcs_ndx)
 
unsigned rc_evaluate_term (rc_term_t *self, rc_peek_t peek, void *ud, lua_State *L)
 
rc_expression_trc_parse_expression (int *ret, void *buffer, rc_scratch_t *scratch, const char **memaddr, lua_State *L, int funcs_ndx)
 
unsigned rc_evaluate_expression (rc_expression_t *self, rc_peek_t peek, void *ud, lua_State *L)
 
void rc_parse_value_internal (rc_value_t *self, int *ret, void *buffer, void *scratch, const char **memaddr, lua_State *L, int funcs_ndx)
 
void rc_parse_lboard_internal (rc_lboard_t *self, int *ret, void *buffer, void *scratch, const char *memaddr, lua_State *L, int funcs_ndx)
 

Macro Definition Documentation

◆ RC_ALIGNOF

#define RC_ALIGNOF (   t)    RC_OFFSETOF(struct{char c; t d;}, d)

◆ RC_ALLOC

#define RC_ALLOC (   t,
  p,
  o,
  s 
)    ((t*)rc_alloc(p, o, sizeof(t), RC_ALIGNOF(t), s))

◆ RC_OFFSETOF

#define RC_OFFSETOF (   s,
  f 
)    ((int)(long long)(&((s*)0)->f))

Function Documentation

◆ rc_alloc()

void* rc_alloc ( void pointer,
int *  offset,
int  size,
int  alignment,
rc_scratch_t scratch 
)

◆ rc_evaluate_expression()

unsigned rc_evaluate_expression ( rc_expression_t self,
rc_peek_t  peek,
void ud,
lua_State L 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_evaluate_operand()

unsigned rc_evaluate_operand ( rc_operand_t self,
rc_peek_t  peek,
void ud,
lua_State L 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_evaluate_term()

unsigned rc_evaluate_term ( rc_term_t self,
rc_peek_t  peek,
void ud,
lua_State L 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_condition()

rc_condition_t* rc_parse_condition ( int *  ret,
void buffer,
rc_scratch_t scratch,
const char **  memaddr,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_condset()

rc_condset_t* rc_parse_condset ( int *  ret,
void buffer,
rc_scratch_t scratch,
const char **  memaddr,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_expression()

rc_expression_t* rc_parse_expression ( int *  ret,
void buffer,
rc_scratch_t scratch,
const char **  memaddr,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_lboard_internal()

void rc_parse_lboard_internal ( rc_lboard_t self,
int *  ret,
void buffer,
void scratch,
const char *  memaddr,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_operand()

int rc_parse_operand ( rc_operand_t self,
const char **  memaddr,
int  is_trigger,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_term()

rc_term_t* rc_parse_term ( int *  ret,
void buffer,
rc_scratch_t scratch,
const char **  memaddr,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_trigger_internal()

void rc_parse_trigger_internal ( rc_trigger_t self,
int *  ret,
void buffer,
rc_scratch_t scratch,
const char **  memaddr,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_parse_value_internal()

void rc_parse_value_internal ( rc_value_t self,
int *  ret,
void buffer,
void scratch,
const char **  memaddr,
lua_State L,
int  funcs_ndx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_reset_condset()

void rc_reset_condset ( rc_condset_t self)
Here is the caller graph for this function:

◆ rc_test_condition()

int rc_test_condition ( rc_condition_t self,
unsigned  add_buffer,
rc_peek_t  peek,
void ud,
lua_State L 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rc_test_condset()

int rc_test_condset ( rc_condset_t self,
int *  reset,
rc_peek_t  peek,
void ud,
lua_State L 
)
Here is the call graph for this function:
Here is the caller graph for this function: