dpp

Directly include C headers in D source code

brewmacoslinux
Try with needOr install directly
Source

About

Directly include C headers in D source code

Commands

dpp

Examples

Generate D bindings from a C header file$ dpp myheader.h
Include C header directly in D source with dpp directive$ echo '@include "stdio.h"' | dpp
Generate bindings with custom output file$ dpp --output=bindings.d myheader.h