You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When augmenting a C++ class for wrapping like #35 (comment), return values of the non-augmented type should automatically downcast to the augmented type. Configured like:
method(getNode, nbind::Downcast(Node, JS_Node));
Another possible (better?) syntax would be:
NBIND_CLASS(Node) {
downcast(JS_Node);
}
The text was updated successfully, but these errors were encountered:
When augmenting a C++ class for wrapping like #35 (comment), return values of the non-augmented type should automatically downcast to the augmented type. Configured like:
method(getNode, nbind::Downcast(Node, JS_Node));
Another possible (better?) syntax would be:
The text was updated successfully, but these errors were encountered: