mirror of
https://github.com/vacp2p/nim-ngtcp2.git
synced 2026-01-06 19:53:57 -05:00
16 lines
578 B
Nim
16 lines
578 B
Nim
import futhark
|
|
from os import parentDir, `/`
|
|
|
|
importc:
|
|
outputPath currentSourcePath.parentDir / "tmp_ngtcp2.nim"
|
|
path currentSourcePath.parentDir / "libs/ngtcp2/lib/includes"
|
|
path currentSourcePath.parentDir / "build/lib/includes"
|
|
path currentSourcePath.parentDir / "libs/ngtcp2/crypto/includes"
|
|
path currentSourcePath.parentDir / "libs/boringssl/include"
|
|
rename FILE, CFile # Rename `FILE` that STB uses to `CFile` which is the Nim equivalent
|
|
"ngtcp2/ngtcp2.h"
|
|
"ngtcp2/ngtcp2_crypto.h"
|
|
"ngtcp2/ngtcp2_crypto_boringssl.h"
|
|
"openssl/rand.h"
|
|
"openssl/asn1.h"
|