Skip to content

Document the prototype.valueOf() usage to get pointer from class instance in JS. #41

@forcepusher

Description

@forcepusher

As seen in this issue, it's not really apparent that we can use the valueOf() method to convert a class view into a pointer. I can't find any references to it in the manual, neither the info that it's being automatically converted into a pointer when using __retain(), __release() methods and such.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions