2009/11/5 Matthias Klumpp <matth...@nlinux.org>: > Hello! > I currently try to implement parts of the DBUs-GLib-API in Pascal. To test > some of the functions, I need the G_TYPE G_TYPE_STRV (look here: > http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#G-TYPE-STRV--CAPS > ) > Does anyone know, how to represent this type in Pascal? > E.g. G_TYPE_STRING is represented by GType(16 shl > G_TYPE_FUNDAMENTAL_SHIFT);, which is the right one for G_TYPE_STRV?
Look at packages/gtk2/src/glib/gboxed.inc to see how these are implemented (function implementation is in glib2.pas). You can probably add it to that file. Henry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal