Skip to content

Commit

Permalink
docs: add missing import to example
Browse files Browse the repository at this point in the history
  • Loading branch information
recanman authored Mar 30, 2024
1 parent aca3e0c commit 618bb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bun install bun-ffi-gen
Example of generating bindings for wgpu library.

```ts
import { ClangTypeInfoCache, clangGetAstJson, CodeGen, parseClangAst } from "bun-ffi-gen";
import { ClangTypeInfoCache, clangGetAstJson, CodeGen, parseClangAst, clangClean } from "bun-ffi-gen";

const HEADER_PATH = "./wgpu/wgpu.h";
const TYPE_CACHE_PATH = "./generate-wgpu-bindings_cache";
Expand Down

0 comments on commit 618bb1d

Please sign in to comment.