RetroArch
video_state_python.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef __VIDEO_STATE_PYTHON_H
18 #define __VIDEO_STATE_PYTHON_H
19 
20 #include <stdint.h>
21 
22 #include <boolean.h>
23 
24 #ifndef PY_STATE_OMIT_DECLARATION
25 typedef struct py_state py_state_t;
26 #endif
27 
28 py_state_t *py_state_new(const char *program,
29  unsigned is_file, const char *pyclass);
30 
31 void py_state_free(py_state_t *handle);
32 
33 float py_state_get(py_state_t *handle,
34  const char *id, unsigned frame_count);
35 
36 #endif
GLuint program
Definition: glext.h:7390
Definition: video_state_python.c:218
float py_state_get(py_state_t *handle, const char *id, unsigned frame_count)
Definition: video_state_python.c:392
void py_state_free(py_state_t *handle)
Definition: video_state_python.c:376
py_state_t * py_state_new(const char *program, unsigned is_file, const char *pyclass)
Definition: video_state_python.c:293