capi: removed default argument from C API.

C does not support default arguments. For thorvg_capi.h to maintain
C compatibility, default arguments must be omitted.
This commit is contained in:
Dragoș Tiselice 2024-12-03 15:09:01 +02:00 committed by Hermet Park
parent 8a5710b3c5
commit 8f13920b7a

View file

@ -574,7 +574,7 @@ TVG_API Tvg_Canvas* tvg_wgcanvas_create(void);
*
* @note Experimental API
*/
TVG_API Tvg_Result tvg_wgcanvas_set_target(Tvg_Canvas* canvas, void* device, void* instance, void* target, uint32_t w, uint32_t h, Tvg_Colorspace cs, int type = 0);
TVG_API Tvg_Result tvg_wgcanvas_set_target(Tvg_Canvas* canvas, void* device, void* instance, void* target, uint32_t w, uint32_t h, Tvg_Colorspace cs, int type);
/** \} */ // end defgroup ThorVGCapi_WgCanvas