diff options
| author | rajdakin <rajdakin@gmail.com> | 2024-09-01 19:06:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-01 19:06:03 +0200 |
| commit | ea807eda045be675301cea084e311bc4feae17f0 (patch) | |
| tree | ca1694d3ef543ec65d384b5570f6c4ed05c48fec /src/wrapped/wrappedglib2.c | |
| parent | 36321f809dfe33d26df26de2913aa1df3f8cfa61 (diff) | |
| download | box64-ea807eda045be675301cea084e311bc4feae17f0.tar.gz box64-ea807eda045be675301cea084e311bc4feae17f0.zip | |
[WRAPPED] Merged types D/K and Y/y in 64bits wrapped libs (#1784)
* [WRAPPED] Merged types D/K and Y/y in 64bits wrapped libs * [WRAPPERS] Version bump * [WRAPPED] Fixed wrapped glib2 on non-LD80BITS builds
Diffstat (limited to 'src/wrapped/wrappedglib2.c')
| -rw-r--r-- | src/wrapped/wrappedglib2.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/wrapped/wrappedglib2.c b/src/wrapped/wrappedglib2.c index 0372e844..be455568 100644 --- a/src/wrapped/wrappedglib2.c +++ b/src/wrapped/wrappedglib2.c @@ -29,12 +29,21 @@ typedef void (*vFppip_t)(void*, void*, int, void*); +#ifdef HAVE_LD80LIBS +#define ADDED_FUNCTIONS_2() +#else +typedef void (*vFppippDpDC_t)(void*, void*, int32_t, void*, void*, double, void*, double, uint8_t); +#define ADDED_FUNCTIONS_2() \ + GO(g_assertion_message_cmpnum, vFppippDpDC_t) +#endif + #define ADDED_FUNCTIONS() \ GO(g_build_filenamev, pFp_t) \ GO(g_variant_get_va, vFpppp_t) \ GO(g_build_pathv, pFpp_t) \ GO(g_set_error_literal, vFppip_t) \ GO(g_variant_builder_add_value, vFpp_t) \ + ADDED_FUNCTIONS_2() #include "wrappedglib2types.h" @@ -1449,6 +1458,13 @@ EXPORT void* my_g_bytes_new_with_free_func(x64emu_t* emu, void* data, unsigned l return my->g_bytes_new_with_free_func(data, n, findGDestroyNotifyFct(notify), user); } +#ifndef HAVE_LD80BITS +EXPORT void my_g_assertion_message_cmpnum(void* domain, void* file, int32_t line, void* func, void* expr, double arg1, void* comp, double arg2, uint8_t numtype) +{ + my->g_assertion_message_cmpnum(domain, file, line, func, expr, arg1, comp, arg2, numtype); +} +#endif + #define PRE_INIT \ if(box64_nogtk) \ return -1; |