autowrap icon indicating copy to clipboard operation
autowrap copied to clipboard

Wrap existing D code for use in Python, Excel, C#

Results 53 autowrap issues
Sort by recently updated
recently updated
newest added

https://forum.dlang.org/post/[email protected] Hi, I know with PyD, D can call Python, and with autowrap, Python can call a D .dll, I'm just wondering if someone can show an example that Python...

At the moment csharp fails at build. I don't know about others. For SIL const ref and immutable have often been problematic. Ideally return a tuple of the return type...

duplicate
C#
reflection

in my `source/system.d` I have: ``` class ClassAdapter { abstract Field process(Field old); } ``` I was able to build the .so file, but under Python, when import: ``` >>>...

``` $ ../ldc2/bin/dub build mirror 0.3.1: building configuration "library"... autowrap:reflection 0.6.4+commit.28.gde4f98d: building configuration "library"... autowrap:pynih 0.6.4+commit.28.gde4f98d: building configuration "default"... pynih/source/python/raw.d(147,34): Error: Function type does not match previously declared function with...

Just wanted to confirm that there's no way to call python from D at the moment? E.g. ``` def test_funcs(): from pyd import appends_to_fn_cb import pytest # FIXME with pytest.raises(RuntimeError):...

When I wrap a simple class like this: struct ProductType { string value; alias value this; } wrapAggregate!(ProductType); The compiler report error: ../../.dub/packages/autowrap-0.6.2/autowrap/pyd/source/autowrap/python/wrap.d(266,25): Error: no property length for type symmetry.carbon.client.CarbonClient.ProductType...

Hi Atila, I've pared this right down: ex.d: ``` module ex; export struct Ex{ int id; } export bool exEquals(Ex exA, Ex exB) {return exA == exB;} ``` app.d: ```...

I'm talking about autowrap based on PyD in this case. And I suggest we enable we can specify identifier name for aggregate being wrapped. Here is an example. We need...

enhancement

Autowrap cannot generate python wrapper for interface eventcore.core.EventDriver correctly using PyNIH. The client code will be like below to be wrapped: ```d import eventcore.core : EventDriver; EventDriver hack3() { return...