Comments (2)
Nah, you're stuck with my coding style I'm afraid. You can just branch your own though. Also, Atom provides a nice wrapper around uncrustify which makes this a 1click job.
I'll investigate formatting inconsistency, but multiple-instructions-per-line stays I'm afraid. As does one-line if, and ternary.
On 12 Aug 2016, at 15:24, Blake McBride [email protected] wrote:
Code has inconsistent formatting (see cJSON_InitHooks) and often puts multiple statements on a single line (see cJSON_Delete). Putting multiple statements on a single line makes debugging difficult (since you can't add break points in the middle of a line). There is a program (https://github.com/uncrustify/uncrustify) that can automatically fix the formatting. I am happy to fork, fix the code, and create a pull request. Just let me know.
Thanks for a great library!
Blake McBride
https://github.com/blakemcbride—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from cjson.
Closing this in favor of #24.
from cjson.
Related Issues (20)
- Use \uxxxx(s) to print non-BMP characters HOT 1
- Add item (char | char*) to Array HOT 3
- Get array element by index in object HOT 4
- Help - Get value of a key
- Inputs not validated HOT 2
- cJSON_ParseWithOpts("{xx}", return_parse_end, 0) sets *return_parse_end to "x}"
- cJSON_GetArraySize overflow HOT 1
- Enhancement: Functions to get object reference to children starting with prefix/suffix
- OOB access in `parse_string` HOT 1
- bug for cJSON_InsertItemInArray function HOT 4
- bug for cJSON_SetValuestring HOT 4
- heap-buffer-overflow in cJSON_ParseWithLengthOpts HOT 1
- An outside the range found in cJSON_SetNumberHelper HOT 1
- An 'outside the range of int' bug found in cJSON_CreateNumber HOT 2
- An infinite loop found in cJSON_DeleteItemFromObjectCaseSensitive HOT 2
- Can't link from CMake HOT 1
- Installing with CMake's FetchContent creates problems with header files
- CMake ≥ 3.13 - Policy CMP0077 (option() behavior)
- decode_pointer_inplace is not working as it should
- Strange behavior observed in cJSON_ReplaceItemInArray HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cjson.