]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
Copy over the win32 readme file too.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 9 Sep 2012 20:05:09 +0000 (15:05 -0500)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 9 Sep 2012 20:05:09 +0000 (15:05 -0500)
json-c-0.10/README-WIN32.html [new file with mode: 0644]

diff --git a/json-c-0.10/README-WIN32.html b/json-c-0.10/README-WIN32.html
new file mode 100644 (file)
index 0000000..28fc7d8
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
+       <head>\r
+               <title>JSON-C - A JSON implementation in C - Win32 specific notes</title>\r
+               <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
+       </head>\r
+       <body>\r
+               <h2>Windows specific notes for JSON-C</h2>\r
+               <p>Please send Win32 bug reports to <a href="mailto:christopher.watford@gmail.com">christopher.watford@gmail.com</a></p>\r
+               <p><b>Win32 Specific Changes:</b></p>\r
+               <ul>\r
+                       <li>\r
+                               Various functions have been redefined to their Win32 version (i.e. <tt>open</tt>\r
+                               on win32 is <tt>_open</tt>)</li>\r
+                       <li>\r
+                               Implemented missing functions from MS's libc (i.e. <tt>vasprintf</tt> and <tt>strndup</tt>)</li>\r
+                       <li>\r
+                               Added code to allow Win64 support without integer resizing issues, this \r
+                               probably makes it much nicer on 64bit machines everywhere (i.e. using <tt>ptrdiff_t</tt>\r
+                               for pointer math)</li>\r
+               </ul>\r
+               <p><b>Porting Changelog:</b></p>\r
+               <dl>\r
+                       <dt><tt>printbuf.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
+                       <dd>\r
+                               Added a Win32/Win64 compliant implementation of <tt>vasprintf</tt></dd>\r
+                       <dt><tt>debug.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
+                       <dd>\r
+                               Removed usage of <tt>vsyslog</tt> on Win32/Win64 systems, needs to be handled \r
+                               by a configure script</dd>\r
+                       <dt><tt>json_object.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
+                       <dd>\r
+                               Added scope operator to wrap usage of <tt>json_object_object_foreach</tt>, this needs to be\r
+                               rethought to be more ANSI C friendly</dd>\r
+                       <dt><tt>json_object.h</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
+                       <dd>\r
+                               Added Microsoft C friendly version of <tt>json_object_object_foreach</tt></dd>\r
+                       <dt><tt>json_tokener.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
+                       <dd>\r
+                               Added a Win32/Win64 compliant implementation of <tt>strndup</tt></dd>\r
+                       <dt><tt>json_util.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
+                       <dd>\r
+                               Added cast and mask to suffice <tt>size_t</tt> v. <tt>unsigned int</tt>\r
+                               conversion correctness</dd>\r
+               </dl>\r
+               <p>This program is free software; you can redistribute it and/or modify it under \r
+                       the terms of the MIT License. See COPYING for details.</p>\r
+               <hr />\r
+       </body>\r
+</html>\r