gmime r1279 - trunk/mono
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1279 - trunk/mono
- Date: Mon, 26 May 2008 00:28:16 +0000 (UTC)
Author: fejj
Date: Mon May 26 00:28:16 2008
New Revision: 1279
URL: http://svn.gnome.org/viewvc/gmime?rev=1279&view=rev
Log:
fixed up the GMimeFilter APIs a bit
Modified:
trunk/mono/GMime.metadata
trunk/mono/gmime-api.raw
Modified: trunk/mono/GMime.metadata
==============================================================================
--- trunk/mono/GMime.metadata (original)
+++ trunk/mono/GMime.metadata Mon May 26 00:28:16 2008
@@ -1,5 +1,16 @@
<?xml version="1.0"?>
<metadata>
+ <!-- We need to remap size_t and ssize_t -->
+ <attr path="/api/namespace/*/field[ type='size_t']" name="type">guint32</attr>
+ <attr path="/api/namespace/*/*/return-type[ type='size_t']" name="type">guint32</attr>
+ <attr path="/api/namespace/*/*/parameter[ type='size_t']" name="type">guint32</attr>
+ <attr path="/api/namespace/*/*/*/parameter[ type='size_t']" name="type">guint32</attr>
+
+ <attr path="/api/namespace/*/field[ type='ssize_t']" name="type">gint32</attr>
+ <attr path="/api/namespace/*/*/return-type[ type='ssize_t']" name="type">gint32</attr>
+ <attr path="/api/namespace/*/*/parameter[ type='ssize_t']" name="type">gint32</attr>
+ <attr path="/api/namespace/*/*/*/parameter[ type='ssize_t']" name="type">gint32</attr>
+
<!-- Rename some enums -->
<attr path="/api/namespace/enum/member[ cname='GMIME_BEST_ENCODING_7BIT']" name="name">SevenBit</attr>
<attr path="/api/namespace/enum/member[ cname='GMIME_BEST_ENCODING_8BIT']" name="name">EightBit</attr>
@@ -79,10 +90,20 @@
<!-- Fix up some GMimeFilter APIs -->
<attr path="/api/namespace/object[ cname='GMimeFilter']/method[ cname='g_mime_filter_filter']" name="name">ApplyFilter</attr>
- <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ cname='g_mime_filter_filter']/*/*[ name='outlen']" name="name">foo</attr>
- <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ cname='g_mime_filter_filter']/*/*[ type='char**']" name="pass_as">out</attr>
- <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ cname='g_mime_filter_complete']/*/*[ name='outlen']" name="name">foo</attr>
- <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ cname='g_mime_filter_complete']/*/*[ type='char**']" name="pass_as">out</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inbuf']" name="type">const-guint8*</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inbuf']" name="array">true</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='inlen']" name="name">n_inbuf</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='n_inbuf']" name="type">guint32</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outbuf']" name="type">guint8**</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outbuf']" name="array">true</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outlen']" name="type">guint32</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outlen']" name="pass_as">out</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outprespace']" name="type">guint32</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/*/*/parameter[ name='outprespace']" name="pass_as">out</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ name='Backup']/*/parameter[ name='data']" name="name">buf</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ name='Backup']/*/parameter[ name='buf']" name="type">const-guint8*</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ name='Backup']/*/parameter[ name='buf']" name="array">true</attr>
+ <attr path="/api/namespace/object[ cname='GMimeFilter']/method[ name='Backup']/*/parameter[ name='length']" name="name">n_buf</attr>
<!-- Fix up some other method names -->
<attr path="/api/namespace/object[ cname='GMimeMultipart']/method[ name='Foreach']" name="name">ForeachPart</attr>
Modified: trunk/mono/gmime-api.raw
==============================================================================
--- trunk/mono/gmime-api.raw (original)
+++ trunk/mono/gmime-api.raw Mon May 26 00:28:16 2008
@@ -364,10 +364,10 @@
<return-type type="void" />
<parameters>
<parameter type="GMimeFilter*" name="filter" />
- <parameter type="char*" name="in" />
- <parameter type="size_t" name="len" />
+ <parameter type="char*" name="inbuf" />
+ <parameter type="size_t" name="inlen" />
<parameter type="size_t" name="prespace" />
- <parameter type="char**" name="out" />
+ <parameter type="char**" name="outbuf" />
<parameter type="size_t*" name="outlen" />
<parameter type="size_t*" name="outprespace" />
</parameters>
@@ -376,10 +376,10 @@
<return-type type="void" />
<parameters>
<parameter type="GMimeFilter*" name="filter" />
- <parameter type="char*" name="in" />
- <parameter type="size_t" name="len" />
+ <parameter type="char*" name="inbuf" />
+ <parameter type="size_t" name="inlen" />
<parameter type="size_t" name="prespace" />
- <parameter type="char**" name="out" />
+ <parameter type="char**" name="outbuf" />
<parameter type="size_t*" name="outlen" />
<parameter type="size_t*" name="outprespace" />
</parameters>
@@ -400,10 +400,10 @@
<method name="Complete" cname="g_mime_filter_complete">
<return-type type="void" />
<parameters>
- <parameter type="char*" name="in" />
- <parameter type="size_t" name="len" />
+ <parameter type="char*" name="inbuf" />
+ <parameter type="size_t" name="inlen" />
<parameter type="size_t" name="prespace" />
- <parameter type="char**" name="out" />
+ <parameter type="char**" name="outbuf" />
<parameter type="size_t*" name="outlen" />
<parameter type="size_t*" name="outprespace" />
</parameters>
@@ -414,10 +414,10 @@
<method name="Filter" cname="g_mime_filter_filter">
<return-type type="void" />
<parameters>
- <parameter type="char*" name="in" />
- <parameter type="size_t" name="len" />
+ <parameter type="char*" name="inbuf" />
+ <parameter type="size_t" name="inlen" />
<parameter type="size_t" name="prespace" />
- <parameter type="char**" name="out" />
+ <parameter type="char**" name="outbuf" />
<parameter type="size_t*" name="outlen" />
<parameter type="size_t*" name="outprespace" />
</parameters>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]