Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
f26ac147
Commit
f26ac147
authored
Jan 19, 2004
by
Thomas Vander Stichele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add G_STMT macros
Original commit message from CVS: add G_STMT macros
parent
4efc3002
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
ChangeLog
ChangeLog
+6
-0
gst/gstelement.h
gst/gstelement.h
+2
-2
No files found.
ChangeLog
View file @
f26ac147
2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstelement.h:
add G_STMT macros to gst_element_error, which isn't strictly
necessary but people tell me to anyway.
2004-01-18 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/Makefile.am:
...
...
gst/gstelement.h
View file @
f26ac147
...
...
@@ -139,12 +139,12 @@ typedef enum {
#define GST_ELEMENT_CLOCK(obj) (((GstElement*)(obj))->clock)
#define GST_ELEMENT_PADS(obj) ((obj)->pads)
#define gst_element_error(el, domain, code, message, debug) \
#define gst_element_error(el, domain, code, message, debug)
G_STMT_START {
\
gst_element_error_extended (GST_ELEMENT(el), \
GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
g_strdup_printf message, \
g_strdup_printf debug, \
__FILE__, GST_FUNCTION, __LINE__)
__FILE__, GST_FUNCTION, __LINE__)
; } G_STMT_END
typedef
struct
_GstElementFactory
GstElementFactory
;
typedef
struct
_GstElementFactoryClass
GstElementFactoryClass
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment