mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-08 11:10:16 +00:00
Update cute_png.c
This commit is contained in:
parent
98bf9c0c81
commit
cc95299cb4
@ -95,7 +95,7 @@ static bool cute_png_Image__height(int argc, py_Ref argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static bool cute_png_Image__setpixel(int argc, py_Ref argv) {
|
static bool cute_png_Image__setpixel(int argc, py_Ref argv) {
|
||||||
PY_CHECK_ARGC(3);
|
PY_CHECK_ARGC(4);
|
||||||
cp_image_t* image = py_touserdata(argv);
|
cp_image_t* image = py_touserdata(argv);
|
||||||
PY_CHECK_ARG_TYPE(1, tp_int);
|
PY_CHECK_ARG_TYPE(1, tp_int);
|
||||||
PY_CHECK_ARG_TYPE(2, tp_int);
|
PY_CHECK_ARG_TYPE(2, tp_int);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user