2004-03-30 Mike Kestner <mkestner@ximian.com>

* rsvg/Makefile.am : apply metadata to api
	* rsvg/Rsvg.metadata : mark an array param

svn path=/trunk/gtk-sharp/; revision=24803
This commit is contained in:
Mike Kestner 2004-03-30 20:37:03 +00:00
parent 72b79ede1f
commit bdf45b396c
3 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-03-30 Mike Kestner <mkestner@ximian.com>
* rsvg/Makefile.am : apply metadata to api
* rsvg/Rsvg.metadata : mark an array param
2004-03-29 Todd Berman <tberman@sevenl.net>
* sample/Makefile.am: small resource build fix for glade-test.exe

View file

@ -9,6 +9,7 @@ endif
API = rsvg-api.xml
RAW_API = rsvg-api.raw
INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml $(top_srcdir)/gdk/gdk-symbols.xml ../gtk/gtk-api.xml $(top_srcdir)/gtk/gtk-symbols.xml ../art/art-api.xml
METADATA = Rsvg.metadata
ASSEMBLY_NAME = rsvg-sharp
references = /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../art/art-sharp.dll
@ -30,12 +31,14 @@ build_customs = $(addprefix $(srcdir)/, $(customs))
EXTRA_DIST = \
$(RAW_API) \
$(METADATA) \
$(customs) \
$(sources)
$(API): $(srcdir)/$(RAW_API)
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA)
cp $(srcdir)/$(RAW_API) $(API)
chmod u+w $(API)
$(RUNTIME) ../parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA)
generated-stamp: $(API) ../generator/gapi_codegen.exe $(build_customs)
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(API) \

4
rsvg/Rsvg.metadata Normal file
View file

@ -0,0 +1,4 @@
<?xml version="1.0"?>
<metadata>
<attr path="/api/namespace/struct[@cname='RsvgHandle']/method[@name='Write']/*/*[@name='buf']" name="array">1</attr>
</metadata>