diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2015-04-16 16:04:06 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2015-04-16 16:04:06 +0800 |
commit | 22b0415a8945a5e166457c6f8e3785f89339c533 (patch) | |
tree | 284392723764d10d562b0b440e35c1ea9e489368 /os400/libxmlrpg/xmlTypesC.rpgle | |
parent | 213f1fe0d76d30eaed6e5853057defc43e6df2c9 (diff) | |
download | android_external_libxml2-22b0415a8945a5e166457c6f8e3785f89339c533.tar.gz android_external_libxml2-22b0415a8945a5e166457c6f8e3785f89339c533.tar.bz2 android_external_libxml2-22b0415a8945a5e166457c6f8e3785f89339c533.zip |
os400: fix various ILE/RPG types definitions. Adjust build scripts.
- A typo caused an undefined symbol reference.
- A structure field name did not match the corresponding C name due to a typo.
- Some structured fields were not properly aligned.
- The long/ulong types were wrongly mapped to 64-bit types.
- A typo in a /include directive caused a compilation error.
- Doc files copy now converts from UTF-8 and split long lines.
- Adjust /include file name mapping translation for proper prefix handling.
Diffstat (limited to 'os400/libxmlrpg/xmlTypesC.rpgle')
-rw-r--r-- | os400/libxmlrpg/xmlTypesC.rpgle | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/os400/libxmlrpg/xmlTypesC.rpgle b/os400/libxmlrpg/xmlTypesC.rpgle new file mode 100644 index 00000000..798d74d3 --- /dev/null +++ b/os400/libxmlrpg/xmlTypesC.rpgle @@ -0,0 +1,24 @@ + * Eqivalent of C data types. + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A. + + /if not defined(XMLTYPESC_H__) + /define XMLTYPESC_H__ + + d xmlCchar s 3i 0 based(######typedef######) + d xmlCuchar s 3u 0 based(######typedef######) + d xmlCshort s 5i 0 based(######typedef######) + d xmlCushort s 5u 0 based(######typedef######) + d xmlCint s 10i 0 based(######typedef######) + d xmlCuInt s 10u 0 based(######typedef######) + d xmlClong s 10i 0 based(######typedef######) + d xmlCulong s 10u 0 based(######typedef######) + d xmlClonglong s 20i 0 based(######typedef######) + d xmlCulonglong s 20u 0 based(######typedef######) + d xmlCenum s 10i 0 based(######typedef######) + d xmlCssize_t s 10i 0 based(######typedef######) + d xmlCsize_t s 10u 0 based(######typedef######) + + /endif |