Added a changelog entry.
[profile/ivi/json-c.git] / README-WIN32.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
3         <head>\r
4                 <title>JSON-C - A JSON implementation in C - Win32 specific notes</title>\r
5                 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
6         </head>\r
7         <body>\r
8                 <h2>Windows specific notes for JSON-C</h2>\r
9                 <p>Please send Win32 bug reports to <a href="mailto:christopher.watford@gmail.com">christopher.watford@gmail.com</a></p>\r
10                 <p><b>Win32 Specific Changes:</b></p>\r
11                 <ul>\r
12                         <li>\r
13                                 Various functions have been redefined to their Win32 version (i.e. <tt>open</tt>\r
14                                 on win32 is <tt>_open</tt>)</li>\r
15                         <li>\r
16                                 Implemented missing functions from MS's libc (i.e. <tt>vasprintf</tt> and <tt>strndup</tt>)</li>\r
17                         <li>\r
18                                 Added code to allow Win64 support without integer resizing issues, this \r
19                                 probably makes it much nicer on 64bit machines everywhere (i.e. using <tt>ptrdiff_t</tt>\r
20                                 for pointer math)</li>\r
21                 </ul>\r
22                 <p><b>Porting Changelog:</b></p>\r
23                 <dl>\r
24                         <dt><tt>printbuf.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
25                         <dd>\r
26                                 Added a Win32/Win64 compliant implementation of <tt>vasprintf</tt></dd>\r
27                         <dt><tt>debug.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
28                         <dd>\r
29                                 Removed usage of <tt>vsyslog</tt> on Win32/Win64 systems, needs to be handled \r
30                                 by a configure script</dd>\r
31                         <dt><tt>json_object.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
32                         <dd>\r
33                                 Added scope operator to wrap usage of <tt>json_object_object_foreach</tt>, this needs to be\r
34                                 rethought to be more ANSI C friendly</dd>\r
35                         <dt><tt>json_object.h</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
36                         <dd>\r
37                                 Added Microsoft C friendly version of <tt>json_object_object_foreach</tt></dd>\r
38                         <dt><tt>json_tokener.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
39                         <dd>\r
40                                 Added a Win32/Win64 compliant implementation of <tt>strndup</tt></dd>\r
41                         <dt><tt>json_util.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>\r
42                         <dd>\r
43                                 Added cast and mask to suffice <tt>size_t</tt> v. <tt>unsigned int</tt>\r
44                                 conversion correctness</dd>\r
45                 </dl>\r
46                 <p>This program is free software; you can redistribute it and/or modify it under \r
47                         the terms of the MIT License. See COPYING for details.</p>\r
48                 <hr />\r
49         </body>\r
50 </html>\r