Re: GTK2, XML, perl




Mario Ospelt wrote:


muppet schrieb:
Mario Ospelt wrote:

        C:\usr\bin\perl.exe C:\usr\lib\ExtUtils/xsubpp -noprototypes
-typemap C:
\usr\lib\ExtUtils\typemap -typemap
C:\usr\site\lib\Gtk2-GladeXML\gladexmlperl.ty
pemap -typemap C:\usr\site\lib\Glib\Install\typemap -typemap
C:\usr\site\lib\Gtk
2\Install\gtk2perl.typemap -typemap
C:\usr\site\lib\Gtk2\Install\gdk.typemap -ty
pemap C:\usr\site\lib\Gtk2\Install\gtk.typemap  GladeXML.xs >
GladeXML.xsc && C:
\usr\bin\perl.exe -MExtUtils::Command -e mv GladeXML.xsc GladeXML.c
Error: 'const char_ornull *' not in typemap in GladeXML.xs, line 94
Error: 'const char_ornull *' not in typemap in GladeXML.xs, line 95
Error: 'const char_ornull *' not in typemap in GladeXML.xs, line 103
Error: 'const char_ornull *' not in typemap in GladeXML.xs, line 104


char_ornull was added to Glib's typemap two years ago (17 March '04).  I see
Glib\Install\typemap in the xsubpp command --- does the file actually exist?
Is the path correct?  Does it contain "char_ornull"?


The file exists in this path. It contains in a line: gchar_ornull *
T_GCHAR_ORNULL

Does that help you (or me)?

It should *also* contain the two lines

char_ornull *   T_CHAR_ORNULL
const char_ornull *     T_CHAR_ORNULL


They are different --- we use a convention that says "char" is ascii and
"gchar" is uft8.



-- 
muppet <scott at asofyet dot org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]