[gjs/mozjs102-msvc: 6/6] gi/function.h: Include girffi.h




commit b73286ee59304692b368a3eef1e61b7316e45542
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Aug 2 16:10:30 2022 +0800

    gi/function.h: Include girffi.h
    
    ...instead of ffi.h, since we want to use symbols from here, which may not have
    been included with the other g-i public headers.

 gi/function.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/function.h b/gi/function.h
index 5db20ec8b..337548b85 100644
--- a/gi/function.h
+++ b/gi/function.h
@@ -12,7 +12,7 @@
 #include <unordered_set>
 #include <vector>
 
-#include <ffi.h>
+#include <girffi.h>
 #include <girepository.h>
 #include <girffi.h>  // for g_callable_info_get_closure_native_address
 #include <glib-object.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]