[vala] libgvc: add Gvc.Graph.read_string and Gvc.Context.render_data
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libgvc: add Gvc.Graph.read_string and Gvc.Context.render_data
- Date: Fri, 5 Mar 2010 22:22:12 +0000 (UTC)
commit f6846d59cd2da6a5888b5e0ff70915671ea5099a
Author: Martin Olsson <martin minimum se>
Date: Fri Mar 5 14:15:31 2010 -0800
libgvc: add Gvc.Graph.read_string and Gvc.Context.render_data
Based on a patch by pancake <pancake youterm com>
Fixes bug 611007.
vapi/libgvc.vapi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/libgvc.vapi b/vapi/libgvc.vapi
index d77023c..36da041 100644
--- a/vapi/libgvc.vapi
+++ b/vapi/libgvc.vapi
@@ -88,6 +88,9 @@ namespace Gvc {
[CCode (cname = "gvRenderJobs")]
public int render_jobs (Graph graph);
+
+ [CCode (cname = "gvRenderData")]
+ public int render_data (Graph graph, [CCode (type = "char*")] string file_type, [CCode (type = "char**")] out uint8[] output_data);
}
[Compact]
@@ -125,6 +128,9 @@ namespace Gvc {
[CCode (cname = "agread")]
public static Graph read (GLib.FileStream file);
+ [CCode (cname = "agmemread")]
+ public static Graph read_string (string str);
+
[CCode (cname = "agnode")]
public Node create_node ([CCode (type = "char*")] string node_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]