FooPointer vs FooHandle in the README code example #14

Closed
grondilu opened this Issue Sep 29, 2012 · 0 comments

Projects

None yet

2 participants

In the README you wrote:

class FooHandle is repr('CPointer') {
    ...
    sub Foo_init() returns FooPointer is native("libfoo") { * }
    sub Foo_free(FooPointer) is native("libfoo") { * }
    ...
}

Should I read:

class FooPointer is repr('CPointer') {
    ...
    sub Foo_init() returns FooPointer is native("libfoo") { * }
    sub Foo_free(FooPointer) is native("libfoo") { * }
    ...
}

?

@arnsholt arnsholt closed this in 92a9254 Oct 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment