File: convert_glib3.sh

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (101 lines) | stat: -rwxr-xr-x 2,507 bytes parent folder | download | duplicates (10)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#!/bin/bash

# do not include gerror.h - it only contains c macros for debugging
# do not include gslice.h, gmem.h - they only contain c macros for optimization
# do not include gtestutils.h - it only contains the test suite

dir=~/cpp/gtk3/glib/glib
./h2pastest -uG_BEGIN_DECLS -uG_END_DECLS -uG_GNUC_CONST -dG_CONST_RETURN=const \
            -uGLIB_VAR -uG_INLINE_FUNC -uG_GNUC_MAY_ALIAS -uG_GNUC_MALLOC \
            -uG_GNUC_WARN_UNUSED_RESULT -uG_GNUC_NULL_TERMINATED \
            -uG_GNUC_PURE -dG_GNUC_PRINTF"()" \
            -uGLIB_SYSDEF_POLLIN -uGLIB_SYSDEF_POLLOUT -uGLIB_SYSDEF_POLLPRI \
            -uGLIB_SYSDEF_POLLERR -uGLIB_SYSDEF_POLLHUP -uGLIB_SYSDEF_POLLNVAL \
            -uG_GNUC_INTERNAL -uG_GNUC_NORETURN \
            -dG_GNUC_ALLOC_SIZE"()" -dG_GNUC_FORMAT"()" \
  $dir/glib.h \
  $dir/galloca.h \
  $dir/garray.h \
  $dir/gasyncqueue.h \
  $dir/gatomic.h \
  $dir/gbacktrace.h \
  $dir/gbase64.h \
  $dir/gbitlock.h \
  $dir/gbookmarkfile.h \
  $dir/gbsearcharray.h \
  $dir/gbuffer.h \
  $dir/gcache.h \
  $dir/gchecksum.h \
  $dir/gcompletion.h \
  $dir/gconvert.h \
  $dir/gdataset.h \
  $dir/gdatasetprivate.h \
  $dir/gdate.h \
  $dir/gdatetime.h \
  $dir/gdebug.h \
  $dir/gdir.h \
  $dir/gfileutils.h \
  $dir/ghash.h \
  $dir/ghook.h \
  $dir/ghostutils.h \
  $dir/gi18n.h \
  $dir/gi18n-lib.h \
  $dir/giochannel.h \
  $dir/gkeyfile.h \
  $dir/glib.h \
  $dir/glibintl.h \
  $dir/glib-object.h \
  $dir/glib_trace.h \
  $dir/glist.h \
  $dir/gmacros.h \
  $dir/gmain.h \
  $dir/gmappedfile.h \
  $dir/gmarkup.h \
  $dir/gmessages.h \
  $dir/gmirroringtable.h \
  $dir/gnode.h \
  $dir/goption.h \
  $dir/gpattern.h \
  $dir/gpoll.h \
  $dir/gprimes.h \
  $dir/gprintf.h \
  $dir/gprintfint.h \
  $dir/gqsort.h \
  $dir/gquark.h \
  $dir/gqueue.h \
  $dir/grand.h \
  $dir/gregex.h \
  $dir/grel.h \
  $dir/gscanner.h \
  $dir/gscripttable.h \
  $dir/gsequence.h \
  $dir/gshell.h \
  $dir/gslist.h \
  $dir/gspawn.h \
  $dir/gstdio.h \
  $dir/gstrfuncs.h \
  $dir/gstring.h \
  $dir/gthread.h \
  $dir/gthreadpool.h \
  $dir/gthreadprivate.h \
  $dir/gtimer.h \
  $dir/gtimezone.h \
  $dir/gtree.h \
  $dir/gtypes.h \
  $dir/gunibreak.h \
  $dir/gunichartables.h \
  $dir/gunicode.h \
  $dir/gunicodeprivate.h \
  $dir/gunicomp.h \
  $dir/gunidecomp.h \
  $dir/gurifuncs.h \
  $dir/gutils.h \
  $dir/gvariant-core.h \
  $dir/gvariant.h \
  $dir/gvariant-internal.h \
  $dir/gvariant-serialiser.h \
  $dir/gvarianttype.h \
  $dir/gvarianttypeinfo.h \
  $dir/gwin32.h