View previous topic :: View next topic |
Author |
Message |
KlausO
Joined: 16 Feb 2006 Posts: 27 Location: Germany
|
Posted: Thu Feb 22, 2007 4:37 pm Post subject: Interface wrapping |
|
|
Hi Kirk,
from the docs I have seen that with PyD it is possible to wrap D classes and structs to expose them to Python. Is something similar possible for interfaces?
If yes, does it work out of the box, or is some manual work to do ?
Thanks
KlausO |
|
Back to top |
|
|
KirkMcDonald
Joined: 22 Jun 2006 Posts: 23
|
Posted: Thu Feb 22, 2007 7:31 pm Post subject: |
|
|
This is moderately easy to do, and I had already added it to the roadmap for RC2 before seeing this thread. The inheritance docs have had a note at the bottom for a while, saying I wanted to do this. It requires that I add a new AbstractDef struct template, to be used as an argument to wrap_class, as well as some minor changes to wrap_class itself. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|