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




commit d9a2a167d5989e5a75bd13141ac08d76055f5045
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]