webservices/wsfragment/src/wslibxml2utils.cpp
branchRCL_3
changeset 37 1adb97a15c2f
parent 36 c5fabff9b552
equal deleted inserted replaced
36:c5fabff9b552 37:1adb97a15c2f
    22 
    22 
    23 
    23 
    24 
    24 
    25 #include "wslibxml2utils.h"
    25 #include "wslibxml2utils.h"
    26 
    26 
    27 #include <stdapis/libxml2/libxml2_globals.h>
    27 #include <libxml2_globals.h>
    28 #include <xml/dom/xmlengelement.h>
    28 #include <xmlengelement.h>
    29 #include <xml/dom/xmlengerrors.h>
    29 #include <xmlengerrors.h>
    30 #include <xml/utils/xmlengxestd.h>
    30 #include <xmlengxestd.h>
    31 
    31 
    32 #define INTERNAL_NODEPTR(aNodeObject)   (*reinterpret_cast<xmlNodePtr*>(&(aNodeObject)))
    32 #define INTERNAL_NODEPTR(aNodeObject)   (*reinterpret_cast<xmlNodePtr*>(&(aNodeObject)))
    33 #define INTERNAL_NSPTR(aNsDefObject)    (*reinterpret_cast<xmlNsPtr*>(&(aNsDefObject)))
    33 #define INTERNAL_NSPTR(aNsDefObject)    (*reinterpret_cast<xmlNsPtr*>(&(aNsDefObject)))
    34 #define XE_ASSERT_DEBUG(assertion)  __ASSERT_DEBUG((assertion),  XmlEngLeaveL(KXmlEngErrWrongUseOfAPI))
    34 #define XE_ASSERT_DEBUG(assertion)  __ASSERT_DEBUG((assertion),  XmlEngLeaveL(KXmlEngErrWrongUseOfAPI))
    35 #define XE_ASSERT_ALWAYS(assertion) __ASSERT_ALWAYS((assertion), XmlEngLeaveL(KXmlEngErrNullNode))
    35 #define XE_ASSERT_ALWAYS(assertion) __ASSERT_ALWAYS((assertion), XmlEngLeaveL(KXmlEngErrNullNode))