diff options
Diffstat (limited to 'plugin-loaders/python/bindings/plumacommands.defs')
-rwxr-xr-x | plugin-loaders/python/bindings/plumacommands.defs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/plugin-loaders/python/bindings/plumacommands.defs b/plugin-loaders/python/bindings/plumacommands.defs new file mode 100755 index 00000000..241b52d6 --- /dev/null +++ b/plugin-loaders/python/bindings/plumacommands.defs @@ -0,0 +1,45 @@ +;; -*- scheme -*- +; object definitions ... +;; Enumerations and flags ... + + +;; From ../../pluma/pluma-commands.h + +(define-function load_uri + (c-name "pluma_commands_load_uri") + (return-type "none") + (parameters + '("PlumaWindow*" "window") + '("const-gchar*" "uri") + '("const-PlumaEncoding*" "encoding") + '("gint" "line_pos") + ) +) + +(define-function load_uris + (c-name "pluma_commands_load_uris") + (return-type "gint") + (parameters + '("PlumaWindow*" "window") + '("const-GSList*" "uris") + '("const-PlumaEncoding*" "encoding") + '("gint" "line_pos") + ) +) + +(define-function save_document + (c-name "pluma_commands_save_document") + (return-type "none") + (parameters + '("PlumaWindow*" "window") + '("PlumaDocument*" "document") + ) +) + +(define-function save_all_documents + (c-name "pluma_commands_save_all_documents") + (return-type "none") + (parameters + '("PlumaWindow*" "window") + ) +) |