summaryrefslogtreecommitdiff
path: root/plugin-loaders/python/bindings/plumacommands.defs
blob: 241b52d61cbbb469577559629c91fac0814f9ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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")
  )
)