commit adba375c015544a4cdbc48833aeb63c792e04054
parent cae7dddf28ced310887150a96c4e167f9bf56531
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 20 Nov 2010 15:18:11 +1000
space in cname causes breakage with vala-0.11
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/genx-glib.h b/src/genx-glib.h
@@ -8,6 +8,8 @@
#include <genx.h>
+typedef struct genxWriter_rec genxWriter_rec;
+
genxNamespace genx_writer_declare_namespace(genxWriter w, const char *uri, const char *prefix);
genxElement genx_writer_declare_element(genxWriter w, genxNamespace ns, const char *type);
genxAttribute genx_writer_declare_attribute(genxWriter w, genxNamespace ns, const char *name);
diff --git a/vapi/genx.vapi b/vapi/genx.vapi
@@ -30,7 +30,7 @@ namespace Genx {
}
[Compact]
- [CCode (cname = "struct genxWriter_rec", free_function = "genxDispose")]
+ [CCode (cname = "genxWriter_rec", free_function = "genxDispose")]
public class Writer {
[CCode (has_target = 0)]