~ubuntu-branches/ubuntu/precise/gst0.10-python/precise

« back to all changes in this revision

Viewing changes to gst/gst-extrafuncs.defs

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2006-06-25 19:37:45 UTC
  • Revision ID: james.westby@ubuntu.com-20060625193745-9yeg0wq56r24n57x
Tags: upstream-0.10.4
ImportĀ upstreamĀ versionĀ 0.10.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; -*- scheme -*-
 
2
 
 
3
(define-method flags
 
4
  (of-object "GstElement")
 
5
  (c-name "GST_OBJECT_FLAGS")
 
6
  (return-type "GstElementFlags")
 
7
)
 
8
 
 
9
(define-method set_flag
 
10
  (of-object "GstObject")
 
11
  (c-name "GST_OBJECT_FLAG_SET")
 
12
  (return-type "none")
 
13
  (parameters
 
14
   '("GstObjectFlags" "flags")
 
15
   )
 
16
)
 
17
 
 
18
(define-method unset_flag
 
19
  (of-object "GstObject")
 
20
  (c-name "GST_OBJECT_FLAG_UNSET")
 
21
  (return-type "none")
 
22
  (parameters
 
23
   '("GstObjectFlags" "flag")
 
24
   )
 
25
)
 
26
 
 
27
;; DEBUGGING FUNCTIONS FROM PYTHON
 
28
;; The c functions don't actually exist
 
29
 
 
30
(define-function log
 
31
  (c-name "gst_log")
 
32
  (return-type "none")
 
33
  (parameters
 
34
   '("gchar *" "msg")
 
35
   )
 
36
)
 
37
 
 
38
(define-function debug
 
39
  (c-name "gst_debug")
 
40
  (return-type "none")
 
41
  (parameters
 
42
   '("gchar *" "msg")
 
43
   )
 
44
)
 
45
 
 
46
(define-function info
 
47
  (c-name "gst_info")
 
48
  (return-type "none")
 
49
  (parameters
 
50
   '("gchar *" "msg")
 
51
   )
 
52
)
 
53
 
 
54
(define-function warning
 
55
  (c-name "gst_warning")
 
56
  (return-type "none")
 
57
  (parameters
 
58
   '("gchar *" "msg")
 
59
   )
 
60
)
 
61
 
 
62
(define-function error
 
63
  (c-name "gst_error")
 
64
  (return-type "none")
 
65
  (parameters
 
66
   '("gchar *" "msg")
 
67
   )
 
68
)
 
69
 
 
70
;; OBJECT DEBUGGING FUNCTIONS FROM PYTHON
 
71
;; The c functions don't actually exist
 
72
 
 
73
(define-method log
 
74
  (of-object "GstObject")
 
75
  (c-name "gst_object_log")
 
76
  (return-type "none")
 
77
  (parameters
 
78
   '("gchar *" "msg")
 
79
   )
 
80
)
 
81
 
 
82
(define-method debug
 
83
  (of-object "GstObject")
 
84
  (c-name "gst_object_debug")
 
85
  (return-type "none")
 
86
  (parameters
 
87
   '("gchar *" "msg")
 
88
   )
 
89
)
 
90
 
 
91
(define-method info
 
92
  (of-object "GstObject")
 
93
  (c-name "gst_object_info")
 
94
  (return-type "none")
 
95
  (parameters
 
96
   '("gchar *" "msg")
 
97
   )
 
98
)
 
99
 
 
100
(define-method warning
 
101
  (of-object "GstObject")
 
102
  (c-name "gst_object_warning")
 
103
  (return-type "none")
 
104
  (parameters
 
105
   '("gchar *" "msg")
 
106
   )
 
107
)
 
108
 
 
109
(define-method error
 
110
  (of-object "GstObject")
 
111
  (c-name "gst_object_error")
 
112
  (return-type "none")
 
113
  (parameters
 
114
   '("gchar *" "msg")
 
115
   )
 
116
)