3 python
`pkg-config pygtk-2.0 --variable=codegendir`/h2def.py \
4 ..
/..
/libbeagle
/beagle
/*.h \
7 # Remove gtypes from the enums
8 .
/fix.pl beagle.defs.new
> beagle.defs
11 # Add the BeagleHit, BeagleProperty and BeagleTimestamp pointers
12 cat >> beagle.defs
<< EOF
17 (gtype-id "BEAGLE_TYPE_HIT")
20 (define-pointer Property
22 (c-name "BeagleProperty")
23 (gtype-id "BEAGLE_TYPE_PROPERTY")
26 (define-pointer Timestamp
28 (c-name "BeagleTimestamp")
29 (gtype-id "BEAGLE_TYPE_TIMESTAMP")