mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-29 16:09:13 +00:00
camera: Added new function with gendynapi.py.
This commit is contained in:
parent
70b89ab70d
commit
db8caa029b
3 changed files with 3 additions and 0 deletions
|
@ -971,6 +971,7 @@ SDL3_0.0.0 {
|
|||
SDL_ReleaseCameraFrame;
|
||||
SDL_CloseCamera;
|
||||
SDL_GetCameraPermissionState;
|
||||
SDL_GetCameraDevicePosition;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
@ -996,3 +996,4 @@
|
|||
#define SDL_ReleaseCameraFrame SDL_ReleaseCameraFrame_REAL
|
||||
#define SDL_CloseCamera SDL_CloseCamera_REAL
|
||||
#define SDL_GetCameraPermissionState SDL_GetCameraPermissionState_REAL
|
||||
#define SDL_GetCameraDevicePosition SDL_GetCameraDevicePosition_REAL
|
||||
|
|
|
@ -1021,3 +1021,4 @@ SDL_DYNAPI_PROC(SDL_Surface*,SDL_AcquireCameraFrame,(SDL_Camera *a, Uint64 *b),(
|
|||
SDL_DYNAPI_PROC(int,SDL_ReleaseCameraFrame,(SDL_Camera *a, SDL_Surface *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_CloseCamera,(SDL_Camera *a),(a),)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetCameraPermissionState,(SDL_Camera *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_CameraPosition,SDL_GetCameraDevicePosition,(SDL_CameraDeviceID a),(a),return)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue