46 lines
895 B
Scheme
46 lines
895 B
Scheme
;; -*- scheme -*-
|
|
; object definitions ...
|
|
;; Enumerations and flags ...
|
|
|
|
|
|
;; From ../../xed/xed-commands.h
|
|
|
|
(define-function load_uri
|
|
(c-name "xed_commands_load_uri")
|
|
(return-type "none")
|
|
(parameters
|
|
'("XedWindow*" "window")
|
|
'("const-gchar*" "uri")
|
|
'("const-XedEncoding*" "encoding")
|
|
'("gint" "line_pos")
|
|
)
|
|
)
|
|
|
|
(define-function load_uris
|
|
(c-name "xed_commands_load_uris")
|
|
(return-type "gint")
|
|
(parameters
|
|
'("XedWindow*" "window")
|
|
'("const-GSList*" "uris")
|
|
'("const-XedEncoding*" "encoding")
|
|
'("gint" "line_pos")
|
|
)
|
|
)
|
|
|
|
(define-function save_document
|
|
(c-name "xed_commands_save_document")
|
|
(return-type "none")
|
|
(parameters
|
|
'("XedWindow*" "window")
|
|
'("XedDocument*" "document")
|
|
)
|
|
)
|
|
|
|
(define-function save_all_documents
|
|
(c-name "xed_commands_save_all_documents")
|
|
(return-type "none")
|
|
(parameters
|
|
'("XedWindow*" "window")
|
|
)
|
|
)
|