Skip to content

Commit

Permalink
Add missing types with libjavascriptcoregtk-6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 24, 2024
1 parent 04f2e6b commit 63f16be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions execute_jscore.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

#if __has_include(<JavaScriptCore/JavaScript.h>)
# include <JavaScriptCore/JavaScript.h>
typedef struct JSClass* JSClassRef;
typedef struct JSObject* JSObjectRef;
typedef struct JSGlobalContext* JSGlobalContextRef;
typedef struct JSContext* JSContextRef;
typedef struct JSValue* JSValueRef;
typedef struct JSString* JSStringRef;
#elif __has_include(<jsc/jsc.h>)
# include <jsc/jsc.h>
#endif
Expand Down

0 comments on commit 63f16be

Please sign in to comment.