mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 11:36:25 +00:00
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:
parent
8a5710b3c5
commit
8f13920b7a
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ TVG_API Tvg_Canvas* tvg_wgcanvas_create(void);
|
||||||
*
|
*
|
||||||
* @note Experimental API
|
* @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
|
/** \} */ // end defgroup ThorVGCapi_WgCanvas
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue