From 1ffe05568f5616590de054d67b4ca7ffd5424a5a Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 28 Oct 2012 22:04:10 +0700 Subject: [PATCH] readme fix --- README.md | 4 ++-- tcejdb/README | 4 ++-- tcejdb/samples/sample1/sample1.c | 4 ++-- tcejdb/testejdb/t1.c | 2 +- tcejdb/testejdb/t2.c | 2 +- tcejdb/testejdb/t3.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 09952d3..9368764 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ One snippet intro ```C #include -static EJDB* jb; +static EJDB *jb; int main() { jb = ejdbnew(); @@ -51,7 +51,7 @@ int main() { bson_append_finish_object(&bq1); bson_finish(&bq1); - EJQ* q1 = ejdbcreatequery(jb, &bq1, NULL, 0, NULL); + EJQ *q1 = ejdbcreatequery(jb, &bq1, NULL, 0, NULL); uint32_t count; TCLIST *res = ejdbqrysearch(coll, q1, &count, 0, NULL); diff --git a/tcejdb/README b/tcejdb/README index 00967dc..b02e6eb 100644 --- a/tcejdb/README +++ b/tcejdb/README @@ -17,7 +17,7 @@ One snippet intro ```C #include -static EJDB* jb; +static EJDB *jb; int main() { jb = ejdbnew(); @@ -51,7 +51,7 @@ int main() { bson_append_finish_object(&bq1); bson_finish(&bq1); - EJQ* q1 = ejdbcreatequery(jb, &bq1, NULL, 0, NULL); + EJQ *q1 = ejdbcreatequery(jb, &bq1, NULL, 0, NULL); uint32_t count; TCLIST *res = ejdbqrysearch(coll, q1, &count, 0, NULL); diff --git a/tcejdb/samples/sample1/sample1.c b/tcejdb/samples/sample1/sample1.c index 426467b..df2ab0e 100644 --- a/tcejdb/samples/sample1/sample1.c +++ b/tcejdb/samples/sample1/sample1.c @@ -1,7 +1,7 @@ #include #include -static EJDB* jb; +static EJDB *jb; int main() { setlocale(LC_ALL, "en_US.UTF-8"); @@ -46,7 +46,7 @@ int main() { bson_append_string(&bq1, "$begin", "Bru"); bson_append_finish_object(&bq1); bson_finish(&bq1); - EJQ* q1 = ejdbcreatequery(jb, &bq1, NULL, 0, NULL); + EJQ *q1 = ejdbcreatequery(jb, &bq1, NULL, 0, NULL); uint32_t count; TCLIST *res = ejdbqrysearch(coll, q1, &count, 0, NULL); diff --git a/tcejdb/testejdb/t1.c b/tcejdb/testejdb/t1.c index 43c34eb..d9a5a85 100644 --- a/tcejdb/testejdb/t1.c +++ b/tcejdb/testejdb/t1.c @@ -15,7 +15,7 @@ * CUnit Test Suite */ -static EJDB* jb; +static EJDB *jb; int init_suite(void) { jb = ejdbnew(); diff --git a/tcejdb/testejdb/t2.c b/tcejdb/testejdb/t2.c index dba4488..fb176d2 100644 --- a/tcejdb/testejdb/t2.c +++ b/tcejdb/testejdb/t2.c @@ -19,7 +19,7 @@ * CUnit Test Suite */ -static EJDB* jb; +static EJDB *jb; int init_suite(void) { jb = ejdbnew(); diff --git a/tcejdb/testejdb/t3.c b/tcejdb/testejdb/t3.c index d426add..1c2ac2b 100644 --- a/tcejdb/testejdb/t3.c +++ b/tcejdb/testejdb/t3.c @@ -18,7 +18,7 @@ * CUnit Test Suite */ -static EJDB* jb; +static EJDB *jb; const int RS = 100000; const int QRS = 100; static bson* recs; -- 2.7.4