Commit 17c318b9 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix compilation with Visual Studio.

Declare variables at the beginning of a code block.
parent eb6493e8
...@@ -70,9 +70,10 @@ ...@@ -70,9 +70,10 @@
if (list!=NULL) {\ if (list!=NULL) {\
const belle_sip_list_t *__elem=list;\ const belle_sip_list_t *__elem=list;\
do{\ do{\
void *__method;\
interface_name *__obj=(interface_name*)__elem->data;\ interface_name *__obj=(interface_name*)__elem->data;\
belle_sip_object_ref(__obj);\ belle_sip_object_ref(__obj);\
void *__method=BELLE_SIP_INTERFACE_GET_METHODS(__obj,interface_name)->method;\ __method=BELLE_SIP_INTERFACE_GET_METHODS(__obj,interface_name)->method;\
if (__method) BELLE_SIP_INTERFACE_GET_METHODS(__obj,interface_name)-> if (__method) BELLE_SIP_INTERFACE_GET_METHODS(__obj,interface_name)->
#define __BELLE_SIP_INVOKE_LISTENER_END \ #define __BELLE_SIP_INVOKE_LISTENER_END \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment