# # This file is part of gtkDS # # gtkDS is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # gtkDS is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with gtkDS; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # define the license to use license: start /* * This file is part of gtkDS. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkDS is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkDS; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage license: end includeComments: y # defines the simple token substitution # TODO allow to create real aliases on the code and simple static token replacement alias: const alias: volatile alias: G_CONST_RETURN alias: gint int alias: guint uint alias: gboolean int alias: gpointer void* alias: gconstpointer void* alias: char char #alias: char* char[] alias: char* char* alias: gchar char #alias: gchar* char[] alias: gchar* char* alias: guchar char alias: gshort short alias: gushort ushort alias: glong int alias: gulong uint alias: gint8 byte alias: guint8 byte alias: gint16 short alias: guint16 ushort alias: gint32 int alias: gint64 long alias: guint32 uint alias: guint64 ulong alias: gfloat float alias: gdouble double alias: gsize uint alias: gssize int alias: va_list void* alias: unichar dchar alias: gunichar dchar alias: unichar2 wchar alias: uchar ubyte alias: GQuark uint #fixme alias: GCallback GCallback alias: GClosureNotify GClosureNotify alias: GtkFunction GtkFunction alias: GHFunc GHFunc alias: GBoxedFreeFunc GBoxedFreeFunc alias: GBoxedCopyFunc GBoxedCopyFunc alias: GdomeException uint alias: GdomeBoolean int alias: GThreadFunctions* void* alias: GdkAtom void* alias: GdkNativeWindow void* #alias: gunichar dchar #alias: gunichar2 wchar alias: size_t int alias: time_t uint alias: tm* void* alias: function funct alias: Function Funct alias: default defaulx alias: foreach foreac alias: package p alias: delete delet alias: module modul alias: instance instanc alias: union unio alias: version versio alias: in inn alias: ref doref alias: MYSQL_ROW char** alias: GLIB_SYSDEF_POLLIN =1 alias: GLIB_SYSDEF_POLLOUT =4 alias: GLIB_SYSDEF_POLLPRI =2 alias: GLIB_SYSDEF_POLLHUP =16 alias: GLIB_SYSDEF_POLLERR =8 alias: GLIB_SYSDEF_POLLNVAL =32 alias: my_ulonglong ulong alias: my_bool char #svn.. alias: svn_filesize_t long alias: svn_boolean_t int alias: svn_revnum_t long alias: apr_byte_t ubyte alias: apr_size_t int #might be long on 64bit machines!! alias: apr_ssize_t int alias: apr_time_t long alias: apr_status_t int alias: apr_uint32_t uint #alias: apr_pool_t* void* alias: svn_auth_baton_t void # functions... alias: svn_wc_notify_func_t void* alias: svn_client_get_commit_log_t void* alias: svn_cancel_func_t void* alias: svn_wc_notify_func2_t void* alias: svn_client_get_commit_log2_t void* alias: svn_ra_progress_notify_func_t void* alias: svn_auth_provider_t* void* alias: svn_opt_revision_value_t svn_opt_revision_value_t alias: svn_stream_t* void* alias: svn_errno_t int #apr.. #alias: apr_hash_t* void* #alias: apr_array_header_t* void* #alias: apr_file_t* void* alias: FILE* void* alias: apr_off_t ulong #tidy? #alias: TidyDoc _TidyDoc* alias: ctmbstr char* alias: tmbstr char* # our basic types : undefined Boolean Number Dtime Integer Int32 Uint32 Uint16 String Object dsalias: int Integer dsalias: uint Uint16 dsalias: char* String dsalias: short Int32 dsalias: ushort Uint32 dsalias: byte Uint16 dsalias: ubyte Uint16 dsalias: long Integer dsalias: ulong Integer dsalias: float Number dsalias: double Number dsalias: char Number #stuff we can convert into Javascript #dsalias: GType Number #alias: dchar ?? #alias: wchar ?? # define the lookup and destination directories # "src" and "obj" will be added to outputRoot inputRoot: ./gtkdocs outputRoot:../ # define the packages to process srcdir: src #package = htmlsource_dir : name of package. package: glib glib package: gthread gthread package: gobject gobject package: cairo cairoLib package: pango pango package: atk atk package: gdk-pixbuf gdkpixbuf package: gdk gdk package: gtk gtk package: gda gda package: glade glade package: sourceview sourceview package: gdome gdome package: mysql mysql package: fastcgi fastcgi package: html html package: soup libsoup package: xml2 xml2 package: sourceview sourceview package: apr apr #package: svn sv package: tidy tidy package: zip zip # our real usefull stuff.. package: phobos phobos #bind: gtkds #srcdir: srcgl #package: glgdk glgdk #package: glgtk glgtk #bind: gtkglc ##gstreamerD wrapping is not on by default ##because of the hand-editing that is still required. #srcdir: srcgstreamer #package: gstreamer gstreamer #bind: gstreamerc # define other packages to create # define package by package, file by file # sections with extra definitions for the typedefs.d package file # these sections start with ": start" # and end with ": end" # addTypedefs // any definition on the top of the file # addAliases // aliases definitions # addEnums // enum definitions # addStructs // struct definitions # addTypes // type definitions # addFuncts // functs definitions # addUnions // unions definitions # addConstants // constants definitions # wrap: the current package # file: the current file - must be the first no a new processing group # struct: the main strcuture to be wrapped # nostruct: the structs not to declare (probably will be declared on another file) # class: - the output class (empty when output is not a class) # More then one class is valid but each class needs a correspondent prefix # prefix: - the gtk prefix that members to include (and to be omited) # More then one prefix is valid and at least ont prefix must exist pre class # noPrefix: Do not include functions that start with the prefix # alias: define a local alias table # import: create import # strcutWrap: the strcut to wrap/unwrap in a GtkD class # outFile: the output file - need to be present to write the source code out ########################################################### ### predifined: lib ########################################################### wrap: srcout: ../src copy: paths.d srcdir: src #this doesnt mean anything - we dont use it anymore. bindDir: gtkds lookup: APILookupHtml.txt lookup: APILookupTidy.txt lookup: APILookupMySQL.txt lookup: APILookupFastCGI.txt lookup: APILookupPhobos.txt lookup: APILookupGLib.txt lookup: APILookupGThread.txt lookup: APILookupGObject.txt lookup: APILookupCairo.txt lookup: APILookupPango.txt lookup: APILookupAtk.txt lookup: APILookupGdkPixbuf.txt lookup: APILookupGdk.txt lookup: APILookupGtk.txt lookup: APILookupGlade.txt lookup: APILookupGdome.txt lookup: APILookupSoup.txt lookup: APILookupXml2.txt lookup: APILookupSourceView.txt #lookup: APILookupApr.txt #lookup: APILookupSvn.txt lookup: APILookupZip.txt #srcdir: srcgl #bindDir: gtkglc #lookup: APILookupGLd.txt #lookup: APILookupGLt.txt #Copy statements move here so that directory structure can be created #first #htod: HTODopenGL.txt #srcdir: srcgda #bindDir: gdac #lookup: APILookupGda.txt ##gstreamerD wrapping is not on by default ##because of the hand-editing that is still required. #srcdir: srcgstreamer #bindDir: gstreamerc #lookup: APILookupGStreamer.txt ##This is a hack to put the hand edited gstreamer versions there. ##This should be removed when we get these files automatically. #wrap: gstreamerc #srcout: ../srcgstreamer #copy: gstreamer.d #copy: gstreamertypes.d #Hack to put the build text in the correct place. srcdir: src