summaryrefslogtreecommitdiff
path: root/plugin-loaders/python/bindings/geditcommands.defs
diff options
context:
space:
mode:
Diffstat (limited to 'plugin-loaders/python/bindings/geditcommands.defs')
-rwxr-xr-xplugin-loaders/python/bindings/geditcommands.defs45
1 files changed, 45 insertions, 0 deletions
diff --git a/plugin-loaders/python/bindings/geditcommands.defs b/plugin-loaders/python/bindings/geditcommands.defs
new file mode 100755
index 00000000..3808fa43
--- /dev/null
+++ b/plugin-loaders/python/bindings/geditcommands.defs
@@ -0,0 +1,45 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From ../../gedit/gedit-commands.h
+
+(define-function load_uri
+ (c-name "gedit_commands_load_uri")
+ (return-type "none")
+ (parameters
+ '("GeditWindow*" "window")
+ '("const-gchar*" "uri")
+ '("const-GeditEncoding*" "encoding")
+ '("gint" "line_pos")
+ )
+)
+
+(define-function load_uris
+ (c-name "gedit_commands_load_uris")
+ (return-type "gint")
+ (parameters
+ '("GeditWindow*" "window")
+ '("const-GSList*" "uris")
+ '("const-GeditEncoding*" "encoding")
+ '("gint" "line_pos")
+ )
+)
+
+(define-function save_document
+ (c-name "gedit_commands_save_document")
+ (return-type "none")
+ (parameters
+ '("GeditWindow*" "window")
+ '("GeditDocument*" "document")
+ )
+)
+
+(define-function save_all_documents
+ (c-name "gedit_commands_save_all_documents")
+ (return-type "none")
+ (parameters
+ '("GeditWindow*" "window")
+ )
+)