msxml3: Make some functions static in node.c.
This commit is contained in:
parent
2043035e17
commit
e98719f79e
|
@ -946,14 +946,14 @@ static HRESULT WINAPI xmlnode_get_definition(
|
||||||
|
|
||||||
static HRESULT WINAPI xmlnode_get_dataType(IXMLDOMNode*, VARIANT*);
|
static HRESULT WINAPI xmlnode_get_dataType(IXMLDOMNode*, VARIANT*);
|
||||||
|
|
||||||
inline BYTE hex_to_byte(xmlChar c)
|
static inline BYTE hex_to_byte(xmlChar c)
|
||||||
{
|
{
|
||||||
if(c <= '9') return c-'0';
|
if(c <= '9') return c-'0';
|
||||||
if(c <= 'F') return c-'A'+10;
|
if(c <= 'F') return c-'A'+10;
|
||||||
return c-'a'+10;
|
return c-'a'+10;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline BYTE base64_to_byte(xmlChar c)
|
static inline BYTE base64_to_byte(xmlChar c)
|
||||||
{
|
{
|
||||||
if(c == '+') return 62;
|
if(c == '+') return 62;
|
||||||
if(c == '/') return 63;
|
if(c == '/') return 63;
|
||||||
|
@ -962,7 +962,7 @@ inline BYTE base64_to_byte(xmlChar c)
|
||||||
return c-'a'+26;
|
return c-'a'+26;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline HRESULT VARIANT_from_xmlChar(xmlChar *str, VARIANT *v, BSTR type)
|
static inline HRESULT VARIANT_from_xmlChar(xmlChar *str, VARIANT *v, BSTR type)
|
||||||
{
|
{
|
||||||
if(!type || !lstrcmpiW(type, szString) ||
|
if(!type || !lstrcmpiW(type, szString) ||
|
||||||
!lstrcmpiW(type, szNumber) || !lstrcmpiW(type, szUUID))
|
!lstrcmpiW(type, szNumber) || !lstrcmpiW(type, szUUID))
|
||||||
|
|
Loading…
Reference in New Issue