mirror of
https://github.com/michaelrsweet/mxml.git
synced 2025-02-22 02:05:29 +00:00
Update va_copy macro for BCC (Issue #211)
This commit is contained in:
parent
e19d38b5a7
commit
a90ff1753a
@ -4,6 +4,7 @@
|
|||||||
to get full strings for inline text instead of separated words (Issue #190)
|
to get full strings for inline text instead of separated words (Issue #190)
|
||||||
- No longer build documentation sets on macOS since Xcode no longer supports
|
- No longer build documentation sets on macOS since Xcode no longer supports
|
||||||
them (Issue #198)
|
them (Issue #198)
|
||||||
|
- Updated the `va_copy` macro for use with BCC (Issue #211)
|
||||||
- The `mxmlNewCDATA` and `mxmlSetCDATA` functions incorrectly added the XML
|
- The `mxmlNewCDATA` and `mxmlSetCDATA` functions incorrectly added the XML
|
||||||
trailer "]]" to the string (Issue #216)
|
trailer "]]" to the string (Issue #216)
|
||||||
- Cross-compiling failed on install (Issue #218)
|
- Cross-compiling failed on install (Issue #218)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* String functions for Mini-XML, a small XML file parsing library.
|
* String functions for Mini-XML, a small XML file parsing library.
|
||||||
*
|
*
|
||||||
* Copyright 2003-2017 by Michael R Sweet.
|
* Copyright 2003-2018 by Michael R Sweet.
|
||||||
*
|
*
|
||||||
* These coded instructions, statements, and computer programs are the
|
* These coded instructions, statements, and computer programs are the
|
||||||
* property of Michael R Sweet and are protected by Federal copyright
|
* property of Michael R Sweet and are protected by Federal copyright
|
||||||
@ -28,7 +28,7 @@
|
|||||||
# ifdef __va_copy
|
# ifdef __va_copy
|
||||||
# define va_copy(dst,src) __va_copy(dst,src)
|
# define va_copy(dst,src) __va_copy(dst,src)
|
||||||
# else
|
# else
|
||||||
# define va_copy(dst,src) memcpy(&dst, src, sizeof(va_list))
|
# define va_copy(dst,src) memcpy(&dst, &src, sizeof(va_list))
|
||||||
# endif /* __va_copy */
|
# endif /* __va_copy */
|
||||||
#endif /* va_copy */
|
#endif /* va_copy */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user