Create D binding for C struct containing templated class
evilrat
evilrat666 at gmail.com
Fri Jun 29 06:28:18 UTC 2018
On Friday, 29 June 2018 at 06:04:10 UTC, Andre Pany wrote:
>
> Thanks a lot for the great help.
> You are right, until now I haven't looked at the include
> folder, I thought the "surface" folder is the folder with the
> public api. But it seems also in the include folder, the header
> files contains references to the grpc_call struct.
> https://github.com/grpc/grpc/blob/master/include/grpc/impl/codegen/grpc_types.h#L70
It just declares new type(like forward declaration), so you
should be able to do the same thing, or declare the actual struct
with no members:
struct grpc_call{}
More information about the Digitalmars-d-learn
mailing list