mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-10-31 03:26:19 +01:00
Fix styling issues from suggestions
This commit is contained in:
parent
f77269c480
commit
b03c3d0a16
6
girffi.c
6
girffi.c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user