mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
girepository: Add missing includes of corresponding headers
Make sure that each C file in `girepository/` includes its corresponding header file (if such a file exists). This ensures that the first declaration the compiler sees for each function contains the symbol visibility macros. This fixes symbol export (`dllexport`) on Windows platforms. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3155
This commit is contained in:
parent
3c89fe9d03
commit
5f012e9f12
@ -28,6 +28,7 @@
|
||||
|
||||
#include "gitypelib-internal.h"
|
||||
#include "girepository-private.h"
|
||||
#include "giarginfo.h"
|
||||
|
||||
|
||||
/* GIArgInfo functions */
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include "gitypelib-internal.h"
|
||||
#include "girepository-private.h"
|
||||
#include "gibaseinfo.h"
|
||||
|
||||
#define INVALID_REFCOUNT 0x7FFFFFFF
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "girffi.h"
|
||||
#include "gicallableinfo.h"
|
||||
|
||||
/* GICallableInfo functions */
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "giconstantinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:giconstantinfo
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "gienuminfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:gienuminfo
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "config.h"
|
||||
#include "gifieldinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:gifieldinfo
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "gifunctioninfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:gifunctioninfo
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "giinterfaceinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:giinterfaceinfo
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "giobjectinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:giobjectinfo
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "gipropertyinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:gipropertyinfo
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "giregisteredtypeinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:giregisteredtypeinfo
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "gisignalinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:gisignalinfo
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "gistructinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:gistructinfo
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "gitypeinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:gitypeinfo
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include "gitypelib-internal.h"
|
||||
#include "gitypelib.h"
|
||||
|
||||
typedef struct {
|
||||
GITypelib *typelib;
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "giunioninfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:giunioninfo
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <girepository/girepository.h>
|
||||
#include "girepository-private.h"
|
||||
#include "gitypelib-internal.h"
|
||||
#include "givfuncinfo.h"
|
||||
|
||||
/**
|
||||
* SECTION:givfuncinfo
|
||||
|
Loading…
Reference in New Issue
Block a user