可以使用dstep中的--include选项来指定头文件的搜索路径。例如,如果b.h在/one/test/路径下,c.h在/two/test路径下,可以这样使用:

$ dstep a.h --include=/one/test --include=/two/test -o a.d

这将指定dstep在搜索头文件时在/one/test和/two/test路径下查找。

dlang自动转换头文件到d语言的绑定我知道有dstepdstep的链接为httpsgithubcomjacob-carlborgdstep主要介绍如下:DStep is a tool for automatically generating D bindings for C and Objective-C libraries This is implemented by processing C

原文地址: https://www.cveoy.top/t/topic/fPIN 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录