File: geditcommands.defs

package info (click to toggle)
gedit 2.30.4-1squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 32,764 kB
  • ctags: 7,353
  • sloc: ansic: 60,008; xml: 45,265; sh: 10,897; python: 6,612; makefile: 1,197; objc: 79; perl: 30
file content (45 lines) | stat: -rw-r--r-- 921 bytes parent folder | download
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")
  )
)