1 // Copyright 2021 Jean Pierre Cimalando
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 // SPDX-License-Identifier: Apache-2.0
19 #include "ysfx_eel_utils.hpp"
21 static EEL_F NSEEL_CGEN_CALL
ysfx_api_gfx_stub_varparm(void *, INT_PTR
, EEL_F
**)
26 static EEL_F
*NSEEL_CGEN_CALL
ysfx_api_gfx_stub_retptr1(void *, EEL_F
*arg
)
31 static EEL_F
*NSEEL_CGEN_CALL
ysfx_api_gfx_stub_retptr2(void *, EEL_F
*arg
, EEL_F
*)
36 static EEL_F
*NSEEL_CGEN_CALL
ysfx_api_gfx_stub_retptr3(void *, EEL_F
*arg
, EEL_F
*, EEL_F
*)
41 static EEL_F NSEEL_CGEN_CALL
ysfx_api_gfx_stub_retval1(void *, EEL_F
*)
46 static EEL_F NSEEL_CGEN_CALL
ysfx_api_gfx_stub_retval2(void *, EEL_F
*, EEL_F
*)
51 static EEL_F NSEEL_CGEN_CALL
ysfx_api_gfx_stub_retval3(void *, EEL_F
*, EEL_F
*, EEL_F
*)
56 #define ysfx_api_gfx_lineto ysfx_api_gfx_stub_retptr3
57 #define ysfx_api_gfx_lineto2 ysfx_api_gfx_stub_retptr2
58 #define ysfx_api_gfx_rectto ysfx_api_gfx_stub_retptr2
59 #define ysfx_api_gfx_rect ysfx_api_gfx_stub_varparm
60 #define ysfx_api_gfx_line ysfx_api_gfx_stub_varparm
61 #define ysfx_api_gfx_gradrect ysfx_api_gfx_stub_varparm
62 #define ysfx_api_gfx_muladdrect ysfx_api_gfx_stub_varparm
63 #define ysfx_api_gfx_deltablit ysfx_api_gfx_stub_varparm
64 #define ysfx_api_gfx_transformblit ysfx_api_gfx_stub_varparm
65 #define ysfx_api_gfx_circle ysfx_api_gfx_stub_varparm
66 #define ysfx_api_gfx_triangle ysfx_api_gfx_stub_varparm
67 #define ysfx_api_gfx_roundrect ysfx_api_gfx_stub_varparm
68 #define ysfx_api_gfx_arc ysfx_api_gfx_stub_varparm
69 #define ysfx_api_gfx_blurto ysfx_api_gfx_stub_retptr2
70 #define ysfx_api_gfx_showmenu ysfx_api_gfx_stub_varparm
71 #define ysfx_api_gfx_setcursor ysfx_api_gfx_stub_varparm
72 #define ysfx_api_gfx_drawnumber ysfx_api_gfx_stub_retptr2
73 #define ysfx_api_gfx_drawchar ysfx_api_gfx_stub_retptr1
74 #define ysfx_api_gfx_drawstr ysfx_api_gfx_stub_varparm
75 #define ysfx_api_gfx_measurestr ysfx_api_gfx_stub_retptr3
76 #define ysfx_api_gfx_measurechar ysfx_api_gfx_stub_retptr3
77 #define ysfx_api_gfx_printf ysfx_api_gfx_stub_varparm
78 #define ysfx_api_gfx_setpixel ysfx_api_gfx_stub_retptr3
79 #define ysfx_api_gfx_getpixel ysfx_api_gfx_stub_retptr3
80 #define ysfx_api_gfx_getimgdim ysfx_api_gfx_stub_retptr3
81 #define ysfx_api_gfx_setimgdim ysfx_api_gfx_stub_retval3
82 #define ysfx_api_gfx_loadimg ysfx_api_gfx_stub_retval2
83 #define ysfx_api_gfx_blitext ysfx_api_gfx_stub_retptr3
84 #define ysfx_api_gfx_blit2 ysfx_api_gfx_stub_varparm
85 #define ysfx_api_gfx_setfont ysfx_api_gfx_stub_varparm
86 #define ysfx_api_gfx_getfont ysfx_api_gfx_stub_varparm
87 #define ysfx_api_gfx_set ysfx_api_gfx_stub_varparm
88 #define ysfx_api_gfx_getdropfile ysfx_api_gfx_stub_varparm
89 #define ysfx_api_gfx_getsyscol ysfx_api_gfx_stub_varparm
90 #define ysfx_api_gfx_getchar ysfx_api_gfx_stub_retval1