Fix styling issues from suggestions

This commit is contained in:
Emmanuele Bassi 2021-11-01 20:54:55 +00:00 committed by Emmanuele Bassi
parent f77269c480
commit b03c3d0a16

View File

@ -453,7 +453,7 @@ g_callable_info_destroy_closure (GICallableInfo *callable_info,
*
* Prepares a callback for ffi invocation. Deprecated
*
* Returns: the native address of the closre or NULL on error. The return value
* Returns: the native address of the closure or `NULL` on error. The return value
* should be freed by calling g_callable_info_free_closure().
*/
ffi_closure *
@ -491,7 +491,9 @@ g_callable_info_prepare_closure (GICallableInfo *callable_info,
* which may cause a segfault because the native address is returned instead
* of the closure address.
*/
void g_callable_info_free_closure (GICallableInfo *callable_info, ffi_closure *closure)
void
g_callable_info_free_closure (GICallableInfo *callable_info,
ffi_closure *closure)
{
g_warning ("g_callable_info_free_closure is deprecated and leaks memory\n");
#ifdef LEGACY_GIRFFI_FREE