gstreamer_core/tsrc/check/gst/gstevent/src/gstevent.c
changeset 9 2a0f36a70380
parent 8 4a7fac7dd34a
equal deleted inserted replaced
8:4a7fac7dd34a 9:2a0f36a70380
    51 
    51 
    52 #if EMULATOR
    52 #if EMULATOR
    53 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean)
    53 static GET_GLOBAL_VAR_FROM_TLS(raised_critical,gstcheck,gboolean)
    54 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)())
    54 #define _gst_check_raised_critical (*GET_GSTREAMER_WSD_VAR_NAME(raised_critical,gstcheck,g)())
    55 #else 
    55 #else 
    56 extern gboolean _gst_check_raised_critical;
    56 IMPORT_C extern gboolean _gst_check_raised_critical;
    57 #endif
    57 #endif
    58 
    58 
    59 #if EMULATOR
    59 #if EMULATOR
    60 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean)
    60 static GET_GLOBAL_VAR_FROM_TLS(expecting_log,gstcheck,gboolean)
    61 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)())
    61 #define _gst_check_expecting_log (*GET_GSTREAMER_WSD_VAR_NAME(expecting_log,gstcheck,g)())
    62 #else 
    62 #else 
    63 extern gboolean _gst_check_expecting_log;
    63 IMPORT_C extern gboolean _gst_check_expecting_log;
    64 #endif
    64 #endif
    65 
    65 
    66 void create_events()
    66 void create_events()
    67 {
    67 {
    68   GstEvent *event, *event2;
    68   GstEvent *event, *event2;