moved opts record def from jsx_common.hrl to a public jsx.hrl header file
actually included the new header, oops
This commit is contained in:
parent
5c36ec18d7
commit
7468313ffc
3 changed files with 6 additions and 6 deletions
5
include/jsx.hrl
Normal file
5
include/jsx.hrl
Normal file
|
@ -0,0 +1,5 @@
|
|||
-record(opts, {
|
||||
comments = false,
|
||||
escaped_unicode = ascii,
|
||||
naked_values = false
|
||||
}).
|
|
@ -1,9 +1,3 @@
|
|||
-record(opts, {
|
||||
comments = false,
|
||||
escaped_unicode = ascii,
|
||||
naked_values = false
|
||||
}).
|
||||
|
||||
%% whitespace
|
||||
-define(space, 16#20).
|
||||
-define(tab, 16#09).
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
-export([start/4]).
|
||||
|
||||
-include("jsx_common.hrl").
|
||||
-include("../include/jsx.hrl").
|
||||
|
||||
callback(eof, Callbacks) ->
|
||||
lists:reverse(Callbacks);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue