Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrapping of structs with private members #95

Open
Laeeth opened this issue Oct 5, 2015 · 0 comments
Open

wrapping of structs with private members #95

Laeeth opened this issue Oct 5, 2015 · 0 comments

Comments

@Laeeth
Copy link

Laeeth commented Oct 5, 2015

It looks like LuaD tries to wrap private members and then fails here:
conversions/structs.d-mixin-38(38,1)

I'll try to fix it when time.

also, would be nice to be able to specify manual function to wrap specified D types for the occasional cases when that is helpful (apologies if I am being dense and haven't seen it). in pyd you can specify a delegate for D->python and python->D:

  • This allows the user to define a function for returning a D type to Python. The dg may be either a function pointer or a delegate. The argument to the function pointer is of the type to convert. The return type of the function pointer can be any convertible type.
  • This allows the user to define a function for converting a Python object to a D type. The dg may be either a function pointer or a delegate. The argument to the function pointer can be any convertible type. The return type of the function pointer is the type to convert.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant