
Probably needs cleaning up a bit. And we use pygtk-codegen, ugh... This is the commit id when we imported sugar-base: b9406e5c9c9df5404c5b0d995178b5edb4d93628 Signed-off-by: Daniel Drake <dsd@laptop.org> [squashed two patches into one] Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
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")
|
|
)
|
|
)
|