diff options
author | Perberos <[email protected]> | 2011-11-07 16:46:58 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-07 16:46:58 -0300 |
commit | 528c1e5ff51e213936e800fc5a9a25da99c0bdf2 (patch) | |
tree | 77f8aa456b09367ba81f04d4562fc935f898a951 /plugin-loaders/python/bindings/geditcommands.defs | |
download | pluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.bz2 pluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.xz |
initial
Diffstat (limited to 'plugin-loaders/python/bindings/geditcommands.defs')
-rwxr-xr-x | plugin-loaders/python/bindings/geditcommands.defs | 45 |
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") + ) +) |