Skip to content

Commit

Permalink
fix json support since Steve Teuber's patches were outdated
Browse files Browse the repository at this point in the history
- add json support to games added since Steve Teuber's patches
- use xform_names instead of name_xforms since Steven Hartland's refactoring
- use xform_printf() instead of fprintf() for json output
- remove commented out code
- use %s for a const switch seems a bit wasteful, fixing it
- do not use inline tests
- explicitely test pointers with NULL
- escape lone backslash character too
- RFC 4627 says: “JSON text SHALL be encoded in Unicode. The default encoding is UTF-8.”
- iterator limit now match malloc in protocol listing
- use singl-hyphen -json-protocols and -json-version options
  • Loading branch information
illwieckz committed Feb 4, 2016
1 parent c11f15b commit 1401f8b
Show file tree
Hide file tree
Showing 2 changed files with 441 additions and 376 deletions.
Loading

0 comments on commit 1401f8b

Please sign in to comment.