I submitted an example to the docs, but it is still [a
PR](https://github.com/nim-lang/Nim/pull/6711), so have a look at the PR.
And try something like the following (and remove the push and pop pragmas):
const
hdr = "nimfuzz/fts_fuzzy_match.h"
proc fuzzyMatchSimple*(pattern: cstring; str: cstring): bool {.importcpp:
"fuzzy_match_simple", header: hdr.}
which will add the line
#include "nimfuzz/fts_fuzzy_match.h"
to the `nimcache/test.cpp` file, and map the c++ function `fuzzy_match_simple`
to the Nim proc `fuzzyMatchSimple()`