RetroArch
|
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <Python.h>
#include <compat/strl.h>
#include <compat/posix_string.h>
#include <streams/file_stream.h>
#include <libretro.h>
#include "video_state_python.h"
#include "../../configuration.h"
#include "../../dynamic.h"
#include "../../core.h"
#include "../../verbosity.h"
#include "../../input/input_driver.h"
Classes | |
struct | py_state |
Macros | |
#define | DECL_ATTR_RETRO(attr) PyObject_SetAttrString(mod, #attr, PyLong_FromLong(RETRO_DEVICE_ID_JOYPAD_##attr)) |
Functions | |
static PyObject * | py_read_wram (PyObject *self, PyObject *args) |
static PyObject * | py_read_vram (PyObject *self, PyObject *args) |
static PyObject * | py_read_input (PyObject *self, PyObject *args) |
static PyObject * | py_read_analog (PyObject *self, PyObject *args) |
static void | py_set_attrs (PyObject *mod) |
static PyObject * | PyInit_Retro (void) |
static char * | dupe_newline (const char *str) |
static char * | align_program (const char *program) |
py_state_t * | py_state_new (const char *script, unsigned is_file, const char *pyclass) |
void | py_state_free (py_state_t *handle) |
float | py_state_get (py_state_t *handle, const char *id, unsigned frame_count) |
Variables | |
static PyMethodDef | RarchMethods [] |
static PyModuleDef | RarchModule |
#define DECL_ATTR_RETRO | ( | attr | ) | PyObject_SetAttrString(mod, #attr, PyLong_FromLong(RETRO_DEVICE_ID_JOYPAD_##attr)) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void py_state_free | ( | py_state_t * | handle | ) |
float py_state_get | ( | py_state_t * | handle, |
const char * | id, | ||
unsigned | frame_count | ||
) |
py_state_t* py_state_new | ( | const char * | script, |
unsigned | is_file, | ||
const char * | pyclass | ||
) |
|
static |
|
static |
|
static |