1#!/bin/bash 2 3# do not include gerror.h - it only contains c macros for debugging 4# do not include gslice.h, gmem.h - they only contain c macros for optimization 5# do not include gtestutils.h - it only contains the test suite 6 7dir=~/cpp/gtk3/glib/glib 8./h2pastest -uG_BEGIN_DECLS -uG_END_DECLS -uG_GNUC_CONST -dG_CONST_RETURN=const \ 9 -uGLIB_VAR -uG_INLINE_FUNC -uG_GNUC_MAY_ALIAS -uG_GNUC_MALLOC \ 10 -uG_GNUC_WARN_UNUSED_RESULT -uG_GNUC_NULL_TERMINATED \ 11 -uG_GNUC_PURE -dG_GNUC_PRINTF"()" \ 12 -uGLIB_SYSDEF_POLLIN -uGLIB_SYSDEF_POLLOUT -uGLIB_SYSDEF_POLLPRI \ 13 -uGLIB_SYSDEF_POLLERR -uGLIB_SYSDEF_POLLHUP -uGLIB_SYSDEF_POLLNVAL \ 14 -uG_GNUC_INTERNAL -uG_GNUC_NORETURN \ 15 -dG_GNUC_ALLOC_SIZE"()" -dG_GNUC_FORMAT"()" \ 16 $dir/glib.h \ 17 $dir/galloca.h \ 18 $dir/garray.h \ 19 $dir/gasyncqueue.h \ 20 $dir/gatomic.h \ 21 $dir/gbacktrace.h \ 22 $dir/gbase64.h \ 23 $dir/gbitlock.h \ 24 $dir/gbookmarkfile.h \ 25 $dir/gbsearcharray.h \ 26 $dir/gbuffer.h \ 27 $dir/gcache.h \ 28 $dir/gchecksum.h \ 29 $dir/gcompletion.h \ 30 $dir/gconvert.h \ 31 $dir/gdataset.h \ 32 $dir/gdatasetprivate.h \ 33 $dir/gdate.h \ 34 $dir/gdatetime.h \ 35 $dir/gdebug.h \ 36 $dir/gdir.h \ 37 $dir/gfileutils.h \ 38 $dir/ghash.h \ 39 $dir/ghook.h \ 40 $dir/ghostutils.h \ 41 $dir/gi18n.h \ 42 $dir/gi18n-lib.h \ 43 $dir/giochannel.h \ 44 $dir/gkeyfile.h \ 45 $dir/glib.h \ 46 $dir/glibintl.h \ 47 $dir/glib-object.h \ 48 $dir/glib_trace.h \ 49 $dir/glist.h \ 50 $dir/gmacros.h \ 51 $dir/gmain.h \ 52 $dir/gmappedfile.h \ 53 $dir/gmarkup.h \ 54 $dir/gmessages.h \ 55 $dir/gmirroringtable.h \ 56 $dir/gnode.h \ 57 $dir/goption.h \ 58 $dir/gpattern.h \ 59 $dir/gpoll.h \ 60 $dir/gprimes.h \ 61 $dir/gprintf.h \ 62 $dir/gprintfint.h \ 63 $dir/gqsort.h \ 64 $dir/gquark.h \ 65 $dir/gqueue.h \ 66 $dir/grand.h \ 67 $dir/gregex.h \ 68 $dir/grel.h \ 69 $dir/gscanner.h \ 70 $dir/gscripttable.h \ 71 $dir/gsequence.h \ 72 $dir/gshell.h \ 73 $dir/gslist.h \ 74 $dir/gspawn.h \ 75 $dir/gstdio.h \ 76 $dir/gstrfuncs.h \ 77 $dir/gstring.h \ 78 $dir/gthread.h \ 79 $dir/gthreadpool.h \ 80 $dir/gthreadprivate.h \ 81 $dir/gtimer.h \ 82 $dir/gtimezone.h \ 83 $dir/gtree.h \ 84 $dir/gtypes.h \ 85 $dir/gunibreak.h \ 86 $dir/gunichartables.h \ 87 $dir/gunicode.h \ 88 $dir/gunicodeprivate.h \ 89 $dir/gunicomp.h \ 90 $dir/gunidecomp.h \ 91 $dir/gurifuncs.h \ 92 $dir/gutils.h \ 93 $dir/gvariant-core.h \ 94 $dir/gvariant.h \ 95 $dir/gvariant-internal.h \ 96 $dir/gvariant-serialiser.h \ 97 $dir/gvarianttype.h \ 98 $dir/gvarianttypeinfo.h \ 99 $dir/gwin32.h 100 101 102