Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ohler55 committed Nov 21, 2023
1 parent adb2c1f commit 979931f
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ RawStringFormats:
- ParseTextProtoOrDie
CanonicalDelimiter: ''
BasedOnStyle: google
ReflowComments: true
ReflowComments: false
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 3.16.2 - 2023-11-21

- Fixed documentation formatting.

## 3.16.1 - 2023-09-01

- Fixed exception type on number parsing. (thank you @jasonpenny)
Expand Down
6 changes: 3 additions & 3 deletions ext/oj/mimic_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ static VALUE mimic_generate_core(int argc, VALUE *argv, Options copts) {
* - *:object_nl* [_String_] String placed after a JSON object
* - *:array_nl* [_String_] String placed after a JSON array
* - *:ascii_only* [_Boolean_] if not nil or false then use only ascii characters in the output.
* Note JSON.generate does support this even if it is not documented.
* Note JSON.generate does support this even if it is not documented.
*
* Returns [_String_] generated JSON.
*/
Expand Down Expand Up @@ -605,9 +605,9 @@ static VALUE mimic_parse_core(int argc, VALUE *argv, VALUE self, bool bang) {
* - *source* [_String_|IO] source to parse
* - *opts* [_Hash_] options
* - *:symbolize* [Boolean] _names flag indicating JSON object keys should be Symbols instead of
* Strings
* Strings
* - *:create_additions* [Boolean] flag indicating a key matching +create_id+ in a JSON object
* should trigger the creation of Ruby Object
* should trigger the creation of Ruby Object
*
* Returns [Object]
* @see create_id=
Expand Down
Loading

0 comments on commit 979931f

Please sign in to comment.