summaryrefslogtreecommitdiff
path: root/plugin-loaders/python/bindings/geditcommands.defs
blob: 3808fa43b3c0a979eda2f66ad2b49077f0aab9c3 (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 ../../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")
  )
)