mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33:41 +02:00
Split glib.h into many header files mostly according to the resp.
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h, gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h, ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h, gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h, grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h, gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h into many header files mostly according to the resp. *.c-files. * gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and __END_DECLS. * configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h, gunicode.h, : Changed guard-macro names to something more consistent. * configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
b1d7443893
commit
b1d1558747
16
gunicode.h
16
gunicode.h
@@ -19,15 +19,13 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __GUNICODE_H__
|
||||
#define __GUNICODE_H__
|
||||
#ifndef __G_UNICODE_H__
|
||||
#define __G_UNICODE_H__
|
||||
|
||||
#include <stddef.h> /* For size_t */
|
||||
#include <gtypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef guint32 gunichar;
|
||||
typedef guint16 gunichar2;
|
||||
@@ -193,8 +191,6 @@ gboolean g_utf8_validate (const gchar *str,
|
||||
gint len,
|
||||
const gchar **end);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GUNICODE_H */
|
||||
#endif /* __G_UNICODE_H__ */
|
||||
|
Reference in New Issue
Block a user