You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
671 B
Plaintext
34 lines
671 B
Plaintext
; functions
|
|
|
|
(define-function get_mime_type_from_file_name
|
|
(c-name "sugar_mime_get_mime_type_from_file_name")
|
|
(return-type "const-char*")
|
|
(parameters
|
|
'("const-char*" "filename")
|
|
)
|
|
)
|
|
|
|
(define-function get_mime_type_for_file
|
|
(c-name "sugar_mime_get_mime_type_for_file")
|
|
(return-type "const-char*")
|
|
(parameters
|
|
'("const-char*" "filename")
|
|
)
|
|
)
|
|
|
|
(define-function list_mime_parents
|
|
(c-name "sugar_mime_list_mime_parents")
|
|
(return-type "char**")
|
|
(parameters
|
|
'("const-char*" "mime")
|
|
)
|
|
)
|
|
|
|
(define-function uri_list_extract_uris
|
|
(c-name "g_uri_list_extract_uris")
|
|
(return-type "gchar**")
|
|
(parameters
|
|
'("const-char*" "uri_list")
|
|
)
|
|
)
|