diff options
author | Adam Bard <github@adambard.com> | 2013-08-16 08:50:20 -0700 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2013-08-16 08:50:20 -0700 |
commit | 5486b435f69c176c136febd8b7863151d7b5f40b (patch) | |
tree | 15a4c9f7e7e759c6bd16c90b3ef110c9d7878f30 /c.html.markdown | |
parent | 0e10d93d9f814ba08803daa75105b0f9384e3e8d (diff) | |
parent | 7cb78e94d24d7c768868fa4bd575a7572126cbe5 (diff) |
Merge pull request #227 from dacechavez/master
Fixed 2 typos around function pointers
Diffstat (limited to 'c.html.markdown')
-rw-r--r-- | c.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c.html.markdown b/c.html.markdown index 8e16837c..00b13cb0 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -484,7 +484,7 @@ int area(const rect *r) /////////////////////////////////////// /* At runtime, functions are located at known memory addresses. Function pointers are -much likely any other pointer (they just store a memory address), but can be used +much like any other pointer (they just store a memory address), but can be used to invoke functions directly, and to pass handlers (or callback functions) around. However, definition syntax may be initially confusing. @@ -506,7 +506,7 @@ Function pointers are usually typedef'd for simplicity and readability, as follo typedef void (*my_fnp_type)(char *); -// The used when declaring the actual pointer variable: +// Then used when declaring the actual pointer variable: // ... // my_fnp_type f; |