mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-15 03:58:04 +02:00
gtypes.h Move GLIB_VAR definition from gutils.h to gtypes.h
2001-02-10 Tor Lillqvist <tml@iki.fi> * gtypes.h * gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h * glib.def * gmem.h: Mark glib_mem_profiler_table for export.
This commit is contained in:
parent
bf8cdc4655
commit
aed994f714
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
2001-02-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gtypes.h
|
||||||
|
* gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h
|
||||||
|
|
||||||
|
* glib.def
|
||||||
|
* gmem.h: Mark glib_mem_profiler_table for export.
|
||||||
|
|
||||||
* gwin32.c (get_package_directory_from_module): Don't store
|
* gwin32.c (get_package_directory_from_module): Don't store
|
||||||
address of local variable in hashtable.
|
address of local variable in hashtable.
|
||||||
|
|
||||||
|
1
glib.def
1
glib.def
@ -613,5 +613,6 @@ EXPORTS
|
|||||||
glib_binary_age
|
glib_binary_age
|
||||||
glib_interface_age
|
glib_interface_age
|
||||||
glib_major_version
|
glib_major_version
|
||||||
|
glib_mem_profiler_table
|
||||||
glib_micro_version
|
glib_micro_version
|
||||||
glib_minor_version
|
glib_minor_version
|
||||||
|
@ -613,5 +613,6 @@ EXPORTS
|
|||||||
glib_binary_age
|
glib_binary_age
|
||||||
glib_interface_age
|
glib_interface_age
|
||||||
glib_major_version
|
glib_major_version
|
||||||
|
glib_mem_profiler_table
|
||||||
glib_micro_version
|
glib_micro_version
|
||||||
glib_minor_version
|
glib_minor_version
|
||||||
|
@ -87,7 +87,7 @@ void g_mem_set_vtable (GMemVTable *vtable);
|
|||||||
|
|
||||||
/* Memory profiler and checker, has to be enabled via g_mem_set_vtable()
|
/* Memory profiler and checker, has to be enabled via g_mem_set_vtable()
|
||||||
*/
|
*/
|
||||||
extern GMemVTable *glib_mem_profiler_table;
|
GLIB_VAR GMemVTable *glib_mem_profiler_table;
|
||||||
void g_mem_profile (void);
|
void g_mem_profile (void);
|
||||||
|
|
||||||
|
|
||||||
|
@ -324,5 +324,18 @@ struct _GTimeVal
|
|||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
/* We prefix variable declarations so they can
|
||||||
|
* properly get exported in windows dlls.
|
||||||
|
*/
|
||||||
|
#ifdef G_OS_WIN32
|
||||||
|
# ifdef GLIB_COMPILATION
|
||||||
|
# define GLIB_VAR __declspec(dllexport)
|
||||||
|
# else /* !GLIB_COMPILATION */
|
||||||
|
# define GLIB_VAR extern __declspec(dllimport)
|
||||||
|
# endif /* !GLIB_COMPILATION */
|
||||||
|
#else /* !G_OS_WIN32 */
|
||||||
|
# define GLIB_VAR extern
|
||||||
|
#endif /* !G_OS_WIN32 */
|
||||||
|
|
||||||
#endif /* __G_TYPES_H__ */
|
#endif /* __G_TYPES_H__ */
|
||||||
|
|
||||||
|
@ -305,16 +305,6 @@ g_trash_stack_height (GTrashStack **stack_p)
|
|||||||
* we prefix variable declarations so they can
|
* we prefix variable declarations so they can
|
||||||
* properly get exported in windows dlls.
|
* properly get exported in windows dlls.
|
||||||
*/
|
*/
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
# ifdef GLIB_COMPILATION
|
|
||||||
# define GLIB_VAR __declspec(dllexport)
|
|
||||||
# else /* !GLIB_COMPILATION */
|
|
||||||
# define GLIB_VAR extern __declspec(dllimport)
|
|
||||||
# endif /* !GLIB_COMPILATION */
|
|
||||||
#else /* !G_OS_WIN32 */
|
|
||||||
# define GLIB_VAR extern
|
|
||||||
#endif /* !G_OS_WIN32 */
|
|
||||||
|
|
||||||
GLIB_VAR const guint glib_major_version;
|
GLIB_VAR const guint glib_major_version;
|
||||||
GLIB_VAR const guint glib_minor_version;
|
GLIB_VAR const guint glib_minor_version;
|
||||||
GLIB_VAR const guint glib_micro_version;
|
GLIB_VAR const guint glib_micro_version;
|
||||||
|
2
gmem.h
2
gmem.h
@ -87,7 +87,7 @@ void g_mem_set_vtable (GMemVTable *vtable);
|
|||||||
|
|
||||||
/* Memory profiler and checker, has to be enabled via g_mem_set_vtable()
|
/* Memory profiler and checker, has to be enabled via g_mem_set_vtable()
|
||||||
*/
|
*/
|
||||||
extern GMemVTable *glib_mem_profiler_table;
|
GLIB_VAR GMemVTable *glib_mem_profiler_table;
|
||||||
void g_mem_profile (void);
|
void g_mem_profile (void);
|
||||||
|
|
||||||
|
|
||||||
|
13
gtypes.h
13
gtypes.h
@ -324,5 +324,18 @@ struct _GTimeVal
|
|||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
/* We prefix variable declarations so they can
|
||||||
|
* properly get exported in windows dlls.
|
||||||
|
*/
|
||||||
|
#ifdef G_OS_WIN32
|
||||||
|
# ifdef GLIB_COMPILATION
|
||||||
|
# define GLIB_VAR __declspec(dllexport)
|
||||||
|
# else /* !GLIB_COMPILATION */
|
||||||
|
# define GLIB_VAR extern __declspec(dllimport)
|
||||||
|
# endif /* !GLIB_COMPILATION */
|
||||||
|
#else /* !G_OS_WIN32 */
|
||||||
|
# define GLIB_VAR extern
|
||||||
|
#endif /* !G_OS_WIN32 */
|
||||||
|
|
||||||
#endif /* __G_TYPES_H__ */
|
#endif /* __G_TYPES_H__ */
|
||||||
|
|
||||||
|
10
gutils.h
10
gutils.h
@ -305,16 +305,6 @@ g_trash_stack_height (GTrashStack **stack_p)
|
|||||||
* we prefix variable declarations so they can
|
* we prefix variable declarations so they can
|
||||||
* properly get exported in windows dlls.
|
* properly get exported in windows dlls.
|
||||||
*/
|
*/
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
# ifdef GLIB_COMPILATION
|
|
||||||
# define GLIB_VAR __declspec(dllexport)
|
|
||||||
# else /* !GLIB_COMPILATION */
|
|
||||||
# define GLIB_VAR extern __declspec(dllimport)
|
|
||||||
# endif /* !GLIB_COMPILATION */
|
|
||||||
#else /* !G_OS_WIN32 */
|
|
||||||
# define GLIB_VAR extern
|
|
||||||
#endif /* !G_OS_WIN32 */
|
|
||||||
|
|
||||||
GLIB_VAR const guint glib_major_version;
|
GLIB_VAR const guint glib_major_version;
|
||||||
GLIB_VAR const guint glib_minor_version;
|
GLIB_VAR const guint glib_minor_version;
|
||||||
GLIB_VAR const guint glib_micro_version;
|
GLIB_VAR const guint glib_micro_version;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user