[libxml2] os400: use like() for unsigned int type.
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] os400: use like() for unsigned int type.
- Date: Sun, 1 May 2016 10:44:10 +0000 (UTC)
commit 26202cf90f561e1cdd5e2269eb7f31d7e663aaf2
Author: Patrick Monnerat <pm datasphere ch>
Date: Wed Apr 1 15:39:45 2015 +0200
os400: use like() for unsigned int type.
os400/libxmlrpg/HTMLparser.rpgle | 4 ++--
os400/libxmlrpg/chvalid.rpgle | 22 +++++++++++-----------
os400/libxmlrpg/parser.rpgle | 4 ++--
os400/libxmlrpg/parserInternals.rpgle | 3 ++-
os400/libxmlrpg/tree.rpgle | 8 ++++----
os400/libxmlrpg/valid.rpgle | 2 +-
os400/libxmlrpg/xmlstdarg.rpgle | 5 +++--
7 files changed, 25 insertions(+), 23 deletions(-)
---
diff --git a/os400/libxmlrpg/HTMLparser.rpgle b/os400/libxmlrpg/HTMLparser.rpgle
index b359135..dc63af0 100644
--- a/os400/libxmlrpg/HTMLparser.rpgle
+++ b/os400/libxmlrpg/HTMLparser.rpgle
@@ -97,7 +97,7 @@
d htmlEntityDesc...
d ds based(htmlEntityDescPtr)
d align qualified
- d value 10u 0 Unicode char value
+ d value like(xmlCuint)
d name * const char *
d desc * const char *
@@ -115,7 +115,7 @@
d htmlEntityValueLookup...
d pr extproc('htmlEntityValueLookup')
d like(htmlEntityDescPtr) const
- d value 10u 0 value
+ d value value like(xmlCuint)
d htmlIsAutoClosed...
d pr 10i 0 extproc('htmlIsAutoClosed')
diff --git a/os400/libxmlrpg/chvalid.rpgle b/os400/libxmlrpg/chvalid.rpgle
index 444d1cb..e5f18fb 100644
--- a/os400/libxmlrpg/chvalid.rpgle
+++ b/os400/libxmlrpg/chvalid.rpgle
@@ -26,8 +26,8 @@
d xmlChLRange ds based(xmlChLRangePtr)
d align qualified
- d low 10u 0
- d high 10u 0
+ d low like(xmlCuint)
+ d high like(xmlCuint)
d xmlChRangeGroupPtr...
d s * based(######typedef######)
@@ -43,7 +43,7 @@
* Range checking routine
d xmlCharInRange pr 10i 0 extproc('xmlCharInRange')
- d val 10u 0 value
+ d val value like(xmlCuint)
d group like(xmlChRangeGroupPtr) const
d xmlIsBaseCharGroup...
@@ -71,28 +71,28 @@
d likeds(xmlChRangeGroup) const
d xmlIsBaseChar pr 10i 0 extproc('xmlIsBaseChar')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
d xmlIsBlank pr 10i 0 extproc('xmlIsBlank')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
d xmlIsChar pr 10i 0 extproc('xmlIsChar')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
d xmlIsCombining pr 10i 0 extproc('xmlIsCombining')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
d xmlIsDigit pr 10i 0 extproc('xmlIsDigit')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
d xmlIsExtender pr 10i 0 extproc('xmlIsExtender')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
d xmlIsIdeographic...
d pr 10i 0 extproc('xmlIsIdeographic')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
d xmlIsPubidChar pr 10i 0 extproc('xmlIsPubidChar')
- d ch 10u 0 value
+ d ch value like(xmlCuint)
/endif XML_CHVALID_H__
diff --git a/os400/libxmlrpg/parser.rpgle b/os400/libxmlrpg/parser.rpgle
index e41f5ef..803c6de 100644
--- a/os400/libxmlrpg/parser.rpgle
+++ b/os400/libxmlrpg/parser.rpgle
@@ -758,7 +758,7 @@
d cdataBlock like(cdataBlockSAXFunc)
d externalSubset...
d like(externalSubsetSAXFunc)
- d initialized 10u 0
+ d initialized like(xmlCuint)
*
* The following fields are extensions available only on version 2
*
@@ -812,7 +812,7 @@
d cdataBlock like(cdataBlockSAXFunc)
d externalSubset...
d like(externalSubsetSAXFunc)
- d initialized 10u 0
+ d initialized like(xmlCuint)
* xmlExternalEntityLoader:
* @URL: The System ID of the resource requested
diff --git a/os400/libxmlrpg/parserInternals.rpgle b/os400/libxmlrpg/parserInternals.rpgle
index 2691397..8c12794 100644
--- a/os400/libxmlrpg/parserInternals.rpgle
+++ b/os400/libxmlrpg/parserInternals.rpgle
@@ -22,7 +22,8 @@
* boundary feature, use XML_PARSE_HUGE option to override it.
d xmlParserMaxDepth...
- d s 10u 0 import('xmlParserMaxDepth')
+ d s import('xmlParserMaxDepth')
+ d like(xmlCuint)
* XML_MAX_TEXT_LENGTH:
*
diff --git a/os400/libxmlrpg/tree.rpgle b/os400/libxmlrpg/tree.rpgle
index cff035b..648ed48 100644
--- a/os400/libxmlrpg/tree.rpgle
+++ b/os400/libxmlrpg/tree.rpgle
@@ -90,8 +90,8 @@
d xmlBuffer ds based(xmlBufferPtr)
d align qualified
d content * xmlChar *
- d use 10u 0 The buffer size used
- d size 10u 0 The buffer size
+ d use like(xmlCuint)
+ d size like(xmlCuint)
d alloc like(xmlBufferAllocationScheme) The realloc method
d contentIO * xmlChar *
@@ -734,11 +734,11 @@
d xmlBufferShrink...
d pr 10i 0 extproc('xmlBufferShrink')
d buf value like(xmlBufferPtr)
- d len 10u 0 value str length
+ d len value like(xmlCuint)
d xmlBufferGrow pr 10i 0 extproc('xmlBufferGrow')
d buf value like(xmlBufferPtr)
- d len 10u 0 value str length
+ d len value like(xmlCuint)
d xmlBufferEmpty pr extproc('xmlBufferEmpty')
d buf value like(xmlBufferPtr)
diff --git a/os400/libxmlrpg/valid.rpgle b/os400/libxmlrpg/valid.rpgle
index 722b89d..757ed81 100644
--- a/os400/libxmlrpg/valid.rpgle
+++ b/os400/libxmlrpg/valid.rpgle
@@ -67,7 +67,7 @@
d nodeMax 10i 0 Max stack depth
d nodeTab * xmlNodePtr *
*
- d finishDtd 10u 0 Finish validtng DTD?
+ d finishDtd like(xmlCuint)
d doc like(xmlDocPtr) The document
d valid 10i 0 Temp check result
*
diff --git a/os400/libxmlrpg/xmlstdarg.rpgle b/os400/libxmlrpg/xmlstdarg.rpgle
index 9e45a4c..3c8e200 100644
--- a/os400/libxmlrpg/xmlstdarg.rpgle
+++ b/os400/libxmlrpg/xmlstdarg.rpgle
@@ -8,6 +8,7 @@
/define XML_STDARG_H__
/include "libxmlrpg/xmlversion"
+ /include "libxmlrpg/xmlTypesC"
* The va_list object.
@@ -21,12 +22,12 @@
d xmlVaStart pr extproc('__xmlVaStart')
d list likeds(xmlVaList)
d lastargaddr * value
- d lastargsize 10u 0 value
+ d lastargsize value like(xmlCsize_t)
d xmlVaArg pr * extproc('__xmlVaArg')
d list likeds(xmlVaList)
d dest * value
- d argsize 10i 0 value
+ d argsize value like(xmlCsize_t)
d xmlVaEnd pr extproc('__xmlVaEnd')
d list likeds(xmlVaList)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]