Permalink
Browse files

Fix typo in README.

Some inconsistent naming in the CPointer REPR example, where both FooPointer
and FooHandle referred to the same class. Closes #14.
  • Loading branch information...
1 parent b538ecb commit 92a925422bc9202fdcc7f430516153a43a8deaac @arnsholt arnsholt committed Oct 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
@@ -102,8 +102,8 @@ by writing a class like this:
class FooHandle is repr('CPointer') {
# Here are the actual Zavolaj functions.
- sub Foo_init() returns FooPointer is native("libfoo") { * }
- sub Foo_free(FooPointer) is native("libfoo") { * }
+ sub Foo_init() returns FooHandle is native("libfoo") { * }
+ sub Foo_free(FooHandle) is native("libfoo") { * }
# Here are the methods we use to expose it to the outside world.
method new() { Foo_init() }

0 comments on commit 92a9254

Please sign in to comment.