about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedgmodule2.c
blob: 1039627eb90b3d0c13fec237c5a6e4609075baae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _GNU_SOURCE         /* See feature_test_macros(7) */
#include <dlfcn.h>

#include "wrappedlibs.h"

#include "debug.h"
#include "wrapper.h"
#include "bridge.h"
#include "librarian/library_private.h"
#include "x64emu.h"

const char* gmodule2Name = "libgmodule-2.0.so.0";
#define ALTNAME "libgmodule-2.0.so"

#define LIBNAME gmodule2

#define PRE_INIT    \
    if(BOX64ENV(nogtk)) \
        return -1;

#define NEEDED_LIBS "libglib-2.0.so.0"

#include "wrappedlib_init.h"