1
0
mirror of https://github.com/kgabis/parson.git synced 2025-01-14 06:12:54 +08:00

Fixed error in the readme file.

This commit is contained in:
Krzysztof Gabis 2012-10-22 19:25:32 +02:00
parent 120f5a08da
commit a3bb4c7390

View File

@ -20,7 +20,7 @@ Run tests.sh to compile and run tests.
##Example ##Example
Here is a function, which prints basic commit info (date, sha and author) from a github repository. It's also included in tests.c file, you can just uncomment and run it. Here is a function, which prints basic commit info (date, sha and author) from a github repository. It's also included in tests.c file, you can just uncomment and run it.
```c ```c
void print_commit_info(const char *username, const char *repo) { void print_commits_info(const char *username, const char *repo) {
JSON_Value *root_value; JSON_Value *root_value;
JSON_Array *commits; JSON_Array *commits;
JSON_Object *commit; JSON_Object *commit;