diff options
author | Allen Winter <allen.winter@kdab.com> | 2022-10-05 16:20:18 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2022-10-05 16:20:18 -0400 |
commit | bdb1ca86fb770b22ab4fdd9db12c927519102c76 (patch) | |
tree | a94e7699f0a4963a6eb6d5221a984b9e5780937f /doc | |
parent | 101ea9db07ecb3dbfccc4172ebfd919d3621da3f (diff) | |
download | libical-git-bdb1ca86fb770b22ab4fdd9db12c927519102c76.tar.gz |
Ensure all vanew_foo() calls finish with (void*)0 (not 0)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/UsingLibical.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/UsingLibical.md b/doc/UsingLibical.md index f3e49d44..39e9901f 100644 --- a/doc/UsingLibical.md +++ b/doc/UsingLibical.md @@ -353,7 +353,7 @@ and the property constructor can have a list of parameters. *Be sure to terminate every list with a `NULL` (or a *`(void 0)`*, or your code will crash, if you are lucky*. The reason you can't use 0 itself is that -depending on what platform you are on, `sizeof(int) ≠ sizeof(void*)`. +depending on what platform you are on, `sizeof(int) ≠ sizeof(void *)`. #### 5.1.3 Parsing Text Files @@ -382,7 +382,7 @@ void icalparser_free( icalparser_get_line( icalparser *parser, - char* (*read_stream)(char *s, size_t size, void* d)); + char* (*read_stream)(char *s, size_t size, void *d)); icalparser_add_line( icalparser *parser, @@ -457,7 +457,7 @@ is a convenience routine; ```c icalcomponent* icalparser_parse( icalparser *parser, - char* (*line_gen_func)(char *s, size_t size, void* d)); + char* (*line_gen_func)(char *s, size_t size, void *d)); ``` To use this routine, you still must construct the parser object and |