Skip to content

Commit

Permalink
Merge pull request #1 from recanman/patch-1
Browse files Browse the repository at this point in the history
docs: add missing import (clangClean) to example
  • Loading branch information
Morglod authored Mar 30, 2024
2 parents aca3e0c + 618bb1d commit fdd86c1
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 fdd86c1

Please sign in to comment.