diff --git a/.github/workflows/validate-template.yml b/.github/workflows/validate-template.yml index 3f6f4ad..848f2d5 100644 --- a/.github/workflows/validate-template.yml +++ b/.github/workflows/validate-template.yml @@ -30,6 +30,11 @@ jobs: - name: Enable Corepack run: corepack enable + - name: Configure git (needed for CLI git init) + run: | + git config --global user.email "ci@test.com" + git config --global user.name "CI" + - name: Scaffold project with CLI env: YARN_ENABLE_HARDENED_MODE: '0' @@ -55,15 +60,6 @@ jobs: fi echo "All template identifiers replaced successfully." - - name: Init git repo (required by nimble) - working-directory: test-app - run: | - git init - git config user.email "ci@test.com" - git config user.name "CI" - git add -A - git commit -m "init" - - name: Setup Nim run: | sudo apt-get update @@ -109,6 +105,11 @@ jobs: - name: Enable Corepack run: corepack enable + - name: Configure git (needed for CLI git init) + run: | + git config --global user.email "ci@test.com" + git config --global user.name "CI" + - name: Scaffold project with CLI env: YARN_ENABLE_HARDENED_MODE: '0' @@ -134,15 +135,6 @@ jobs: fi echo "All template identifiers replaced successfully." - - name: Init git repo (required by nimble) - working-directory: test-app - run: | - git init - git config user.email "ci@test.com" - git config user.name "CI" - git add -A - git commit -m "init" - - name: Setup Nim run: | brew install nim diff --git a/.gitignore b/.gitignore index 2b33d87..0fdf95e 100644 --- a/.gitignore +++ b/.gitignore @@ -39,8 +39,13 @@ android/key.store # Generated bindings bindings/android/*.cpp bindings/android/*.h +bindings/android/nim_core +bindings/android/nim_core.json bindings/ios/*.cpp bindings/ios/*.h +bindings/ios/nim_core +bindings/ios/nim_core.json +bindings/headers/nim_core.h bindings/android/nimcache/ bindings/ios/nimcache/ diff --git a/bindings/android/nim_core b/bindings/android/nim_core deleted file mode 100755 index 6b3c06d..0000000 Binary files a/bindings/android/nim_core and /dev/null differ diff --git a/bindings/android/nim_core.json b/bindings/android/nim_core.json deleted file mode 100644 index 4e6de56..0000000 --- a/bindings/android/nim_core.json +++ /dev/null @@ -1,178 +0,0 @@ -{ - "cacheVersion": "D20240927T193831", - "outputFile": "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/nim_core", - "outputLastModificationTime": "", - "compile": [ - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mapi@score.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mapi@score.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mapi@score.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@smath.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@smath.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@sdata.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@sdata.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@sdata.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmobile@sbindings.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmobile@sbindings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmobile@sbindings.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmain.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmain.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmain.nim.cpp" - ] - ], - "link": [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mapi@score.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@smath.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@sdata.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmobile@sbindings.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmain.nim.cpp.o" - ], - "linkcmd": "clang++ -shared -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/nim_core /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mapi@score.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mbusiness@sdata.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmobile@sbindings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/android/@mmain.nim.cpp.o -pthread -pthread -lm -lm -fPIC -ldl", - "extraCmds": [], - "configFiles": [ - "/opt/homebrew/Cellar/nim/2.2.0/nim/config/nim.cfg", - "/opt/homebrew/Cellar/nim/2.2.0/nim/config/config.nims", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/nim.cfg" - ], - "stdinInput": false, - "projectIsCmd": false, - "cmdInput": "", - "currentDir": "/Users/siddarthkumar/code/siddarthkay/react-native-nim", - "cmdline": "", - "depfiles": [], - "nimexe": "" -} \ No newline at end of file diff --git a/bindings/headers/nim_core.h b/bindings/headers/nim_core.h deleted file mode 100644 index e1bcc75..0000000 --- a/bindings/headers/nim_core.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef NIM_CORE_BINDINGS_H -#define NIM_CORE_BINDINGS_H - -#ifdef __cplusplus -extern "C" { -#endif - -// Core API functions -const char* helloWorld(void); -int addNumbers(int a, int b); -const char* getSystemInfo(void); - -// Math operations -int mobileFibonacci(int n); -int mobileIsPrime(int n); -const char* mobileFactorize(int n); - -// Data operations -const char* mobileCreateUser(int id, const char* name, const char* email); -int mobileValidateEmail(const char* email); - -// Runtime management -void mobileNimInit(void); -void mobileNimShutdown(void); -void NimMain(void); - -// Version info -const char* getNimCoreVersion(void); - -#ifdef __cplusplus -} -#endif - -#endif // NIM_CORE_BINDINGS_H diff --git a/bindings/ios/nim_core b/bindings/ios/nim_core deleted file mode 100755 index eb78db3..0000000 Binary files a/bindings/ios/nim_core and /dev/null differ diff --git a/bindings/ios/nim_core.json b/bindings/ios/nim_core.json deleted file mode 100644 index e7c3f33..0000000 --- a/bindings/ios/nim_core.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "cacheVersion": "D20240927T193831", - "outputFile": "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/nim_core", - "outputLastModificationTime": "", - "compile": [ - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp" - ] - ], - "link": [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp.o" - ], - "linkcmd": "clang++ -shared -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/nim_core /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp.o -fPIC -ldl", - "extraCmds": [], - "configFiles": [ - "/opt/homebrew/Cellar/nim/2.2.0/nim/config/nim.cfg", - "/opt/homebrew/Cellar/nim/2.2.0/nim/config/config.nims", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/nim.cfg" - ], - "stdinInput": false, - "projectIsCmd": false, - "cmdInput": "", - "currentDir": "/Users/siddarthkumar/code/siddarthkay/react-native-nim", - "cmdline": "", - "depfiles": [], - "nimexe": "" -} \ No newline at end of file diff --git a/cli/src/index.js b/cli/src/index.js index 353cc93..9baedaa 100644 --- a/cli/src/index.js +++ b/cli/src/index.js @@ -2,6 +2,7 @@ const { prompt } = require('./prompts.js'); const { scaffold } = require('./scaffold.js'); const path = require('path'); const fs = require('fs'); +const { execSync } = require('child_process'); function toPascalCase(str) { return str @@ -60,6 +61,11 @@ async function main() { bundleId = (await prompt(`Bundle identifier (${defaultBundleId}): `)) || defaultBundleId; } + if (!validateBundleId(bundleId)) { + console.error(' Invalid bundle ID. Use lowercase reverse-domain format: com.company.appname'); + process.exit(1); + } + // Resolve template const templateDir = resolveTemplateDir(); const targetDir = path.resolve(process.cwd(), projectDir); @@ -82,6 +88,7 @@ async function main() { try { scaffold(config); + initGitRepo(targetDir); printNextSteps(projectDir); } catch (err) { console.error(`\n Error: ${err.message}`); @@ -89,6 +96,24 @@ async function main() { } } +function validateBundleId(id) { + return /^[a-z][a-z0-9]*(\.[a-z][a-z0-9]*)+$/.test(id); +} + +function initGitRepo(targetDir) { + try { + execSync('git init', { cwd: targetDir, stdio: 'ignore' }); + execSync('git add -A', { cwd: targetDir, stdio: 'ignore' }); + execSync('git commit -m "Initial commit from create-react-native-nim"', { + cwd: targetDir, + stdio: 'ignore', + }); + console.log(' Initialized git repository.\n'); + } catch { + // git not available — not critical, but nimble will need it later + } +} + function resolveTemplateDir() { // When running from the repo (development) const repoTemplate = path.resolve(__dirname, '../../mobile-app'); diff --git a/mobile-app/.gitignore b/mobile-app/.gitignore index c171229..401b162 100644 --- a/mobile-app/.gitignore +++ b/mobile-app/.gitignore @@ -103,11 +103,17 @@ nimcache/ # Generated static libraries (auto-generated by build script) modules/nim-bridge/ios/*.a -# Generated binding files (keep these for reference, but they're auto-generated) -# Uncomment if you want to exclude them: -# modules/nim-bridge/ios/nim_functions.h -# modules/nim-bridge/ios/NimBridge_generated.mm -# modules/nim-bridge/src/NimBridge.types.ts +# Generated binding files (auto-generated by tools/generate_bindings.py and make build-nim) +modules/nim-bridge/ios/NimBridge.h +modules/nim-bridge/ios/NimBridge.mm +modules/nim-bridge/ios/nim_functions.h +modules/nim-bridge/ios/main.h +modules/nim-bridge/ios/nimbase.h +modules/nim-bridge/android/src/main/cpp/NimBridge.cpp +modules/nim-bridge/android/src/main/cpp/nimbase.h +modules/nim-bridge/src/NimBridge.types.ts +modules/nim-bridge/src/NativeNimBridge.ts +src/nim_core.d.ts # Misc .env.local diff --git a/mobile-app/ios/.gitignore b/mobile-app/ios/.gitignore index 8beb344..3aecbd7 100644 --- a/mobile-app/ios/.gitignore +++ b/mobile-app/ios/.gitignore @@ -28,3 +28,9 @@ project.xcworkspace # CocoaPods /Pods/ + +# Nim compiled binary, metadata and headers (generated by tools/build-mobile.sh, not needed by make build-ios) +nim_core +nim_core.json +nim_core.h +main.h diff --git a/mobile-app/ios/Podfile.lock b/mobile-app/ios/Podfile.lock index 96d9e35..8bf9b40 100644 --- a/mobile-app/ios/Podfile.lock +++ b/mobile-app/ios/Podfile.lock @@ -2838,91 +2838,91 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90 DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb - EXConstants: 59d46d25b89f88cc38291a56dbce4d550758f72d + EXConstants: a95804601ee4a6aa7800645f9b070d753b1142b3 EXJSONUtils: 1d3e4590438c3ee593684186007028a14b3686cd - EXManifests: 7469efed75d694ce3c43a6da9c6f3886f66d3c26 - Expo: bc41e148d0e1129b9c10786660abe5d6df8824ec - expo-dev-client: b0363ce1f16a248d7c9b67ceaee2dbee058c1e05 - expo-dev-launcher: ab9eb83b69c2f9fdd3f2f67d3da5bee02cfa7406 - expo-dev-menu: 7bba844fbaa2d50ad2be63a8ffbdc6d207017062 + EXManifests: 224345a575fca389073c416297b6348163f28d1a + Expo: 99022d0107ee878b9e6c474ff3637b37ff986dbf + expo-dev-client: f3434d6ca09ecb14ae48c2a3912bdbb07464cc85 + expo-dev-launcher: 746f60f75a8d229581710299e37a9db0c1baa360 + expo-dev-menu: 19de9e2b7a4c5d0ff2afe5d7f1d8913d4699b32d expo-dev-menu-interface: 600df12ea01efecdd822daaf13cc0ac091775533 - ExpoAsset: 3c3b7dd9b1318846a02ef05ce420e63d542aeb9f - ExpoFileSystem: 72fef9c5cb92b9995eeee114a14acb66d94d5bd4 - ExpoFont: d3e56c7cc03d9fd113b90a5513ad32b4bf46b0ff - ExpoKeepAwake: 3f5e3ac53627849174f3603271df8e08f174ed4a - ExpoModulesCore: 56c8a911b34c43d54c98e1bffb80cb43c44c25c1 - EXUpdatesInterface: 1436757deb0d574b84bba063bd024c315e0ec08b + ExpoAsset: 9ba6fbd677fb8e241a3899ac00fa735bc911eadf + ExpoFileSystem: 5fb091ea11198e109ceef2bdef2e6e66523e62c4 + ExpoFont: 86ceec09ffed1c99cfee36ceb79ba149074901b5 + ExpoKeepAwake: 1a2e820692e933c94a565ec3fbbe38ac31658ffe + ExpoModulesCore: 7cb6eef0deb6f346fc21e02e9645120f2fb5d4f0 + EXUpdatesInterface: 5adf50cb41e079c861da6d9b4b954c3db9a50734 fast_float: b32c788ed9c6a8c584d114d0047beda9664e7cc6 FBLazyVector: 941bef1c8eeabd9fe1f501e30a5220beee913886 fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd glog: 5683914934d5b6e4240e497e0f4a3b42d1854183 hermes-engine: 35c763d57c9832d0eef764316ca1c4d043581394 - NimBridge: 96e13de364931da72887a4617c6923bacfe65b4d + NimBridge: d3882c7c781b494b6f9c21b89869919a302215ef RCT-Folly: 846fda9475e61ec7bcbf8a3fe81edfcaeb090669 RCTDeprecation: c0ed3249a97243002615517dff789bf4666cf585 RCTRequired: 58719f5124f9267b5f9649c08bf23d9aea845b23 RCTTypeSafety: 4aefa8328ab1f86da273f08517f1f6b343f6c2cc React: 2073376f47c71b7e9a0af7535986a77522ce1049 React-callinvoker: 751b6f2c83347a0486391c3f266f291f0f53b27e - React-Core: 7195661f0b48e7ea46c3360ccb575288a20c932c - React-CoreModules: 14f0054ab46000dd3b816d6528af3bd600d82073 - React-cxxreact: 7f602425c63096c398dac13cd7a300efd7c281ae + React-Core: dff5d29973349b11dd6631c9498456d75f846d5e + React-CoreModules: c0ae04452e4c5d30e06f8e94692a49107657f537 + React-cxxreact: 376fd672c95dfb64ad5cc246e6a1e9edb78dec4c React-debug: 7b56a0a7da432353287d2eedac727903e35278f5 - React-defaultsnativemodule: 695d8a0b40f735edb3c4031e0f049e567fdac47a - React-domnativemodule: 6d66c1f61f277d008d98cae650ce2c025b89d3b9 - React-Fabric: 997d4115d688f483cb409a1290171bff3c93dab4 - React-FabricComponents: 8167e5e363ca3a3fe394d8afee355e4072bea1db - React-FabricImage: f8f9f2c97657116702acc670e3f4357bc842bed3 - React-featureflags: dfb4d0d527d55dd968231370f6832b9197ee653d - React-featureflagsnativemodule: c63cfd8fe95cd98f12ebb37daa919c4544810a45 - React-graphics: fd795f1c2a1133a08dde31725b20949edd545dca - React-hermes: 0a167bbb02c242664745e82154578c64e90a88e5 - React-idlecallbacksnativemodule: 1798c6aa33ddc7c2e9fa3c3d67729728639889e9 - React-ImageManager: c498ee6945dffacc82bfa175aa3264212f27c70b - React-jserrorhandler: 216951fea62fc26c600f4c96f0dc4fd53d1e7a9b - React-jsi: 9c27d27d3007b73c702ad3fd5a6166557c741020 - React-jsiexecutor: 2b24f4ed4026344a27f717bf947a434cbbeeff7a - React-jsinspector: 02394b059c48805780f7d977366317a24168d00e - React-jsinspectorcdp: f4b6d5c5c9db05ef44d082716714f90cfeed96bb - React-jsinspectornetwork: e7c77d01b5f0664e24c0bec1aea27d5e3d7fb746 - React-jsinspectortracing: aaa96a4e53abb88dc6d47da3b5744c710652fef9 - React-jsitooling: 226e5f4147c7b6f1ae1954a8406ffa713f3da828 - React-jsitracing: 8a2fbeaa9c53c3f0b23904ccffefc890eae48d71 - React-logger: 1767babce2d28c3251039ce05556714a2c8c6ded - React-Mapbuffer: 33f678ee25b6c0ee2b01b1ecec08e3e02424cefe - React-microtasksnativemodule: 44b44a4d3cd6ffb85d928abf741acdc26722de2e - React-NativeModulesApple: b5d18bc109c45c9a1c6b71664991b5cc3adc4e48 + React-defaultsnativemodule: 393b81aaa6211408f50a6ef00a277847256dd881 + React-domnativemodule: 5fb5829baa7a7a0f217019cbad1eb226d94f7062 + React-Fabric: a17c4ae35503673b57b91c2d1388429e7cbee452 + React-FabricComponents: a76572ddeba78ebe4ec58615291e9db4a55cd46a + React-FabricImage: d806eb2695d7ef355ec28d1a21f5a14ac26b1cae + React-featureflags: 1690ec3c453920b6308e23a4e24eb9c3632f9c75 + React-featureflagsnativemodule: 7b7e8483fc671c5a33aefd699b7c7a3c0bdfdfec + React-graphics: ea146ee799dc816524a3a0922fc7be0b5a52dcc1 + React-hermes: fcbdc45ecf38259fe3b12642bd0757c52270a107 + React-idlecallbacksnativemodule: a353f9162eaa7ad787e68aba9f52a1cfa8154098 + React-ImageManager: ec5cf55ce9cc81719eb5f1f51d23d04db851c86c + React-jserrorhandler: 594c593f3d60f527be081e2cace7710c2bd9f524 + React-jsi: 59ec3190dd364cca86a58869e7755477d2468948 + React-jsiexecutor: b87d78a2e8dd7a6f56e9cdac038da45de98c944f + React-jsinspector: b9204adf1af622c98e78af96ec1bca615c2ce2bd + React-jsinspectorcdp: 4a356fa69e412d35d3a38c44d4a6cc555c5931e8 + React-jsinspectornetwork: 7820056773178f321cbf18689e1ffcd38276a878 + React-jsinspectortracing: b341c5ef6e031a33e0bd462d67fd397e8e9cd612 + React-jsitooling: 401655e05cb966b0081225c5201d90734a567cb9 + React-jsitracing: 67eff6dea0cb58a1e7bd8b49243012d88c0f511e + React-logger: a3cb5b29c32b8e447b5a96919340e89334062b48 + React-Mapbuffer: 9d2434a42701d6144ca18f0ca1c4507808ca7696 + React-microtasksnativemodule: 75b6604b667d297292345302cc5bfb6b6aeccc1b + React-NativeModulesApple: 879fbdc5dcff7136abceb7880fe8a2022a1bd7c3 React-oscompat: 93b5535ea7f7dff46aaee4f78309a70979bdde9d - React-perflogger: a03d913e3205b00aee4128082abe42fd45ce0c98 - React-performancetimeline: 9b5986cc15afafb9bf246d7dd55bdd138df94451 + React-perflogger: 5536d2df3d18fe0920263466f7b46a56351c0510 + React-performancetimeline: 9041c53efa07f537164dcfe7670a36642352f4c2 React-RCTActionSheet: 42195ae666e6d79b4af2346770f765b7c29435b9 - React-RCTAnimation: 5c10527683128c56ff2c09297fb080f7c35bd293 - React-RCTAppDelegate: c616bd5b0d12f0b21dfacee9cd2d512c6df013aa - React-RCTBlob: 6e3757bdd7dce6fd9788c0dd675fd6b6c432db9d - React-RCTFabric: e8f3b9da97477710bf0904a62eb5b5209c964694 - React-RCTFBReactNativeSpec: c042f8d60d44ad9e2c722da89323c0bdab7a37af - React-RCTImage: a3482fe1ae562d1bab08b42d4670a7c9a21813cd - React-RCTLinking: d82b9adb141aef9d2b38d446b837ae7017ab60aa - React-RCTNetwork: fa9350dd99354c5695964f589bd4790bdd4f6a85 - React-RCTRuntime: be99a38cd23388c08921d8969c82a1997a11ec90 - React-RCTSettings: b7f4a03f44dba1d3a4dc6770843547b203ca9129 - React-RCTText: 91dc597a5f6b27fd1048bb287c41ea05eeca9333 - React-RCTVibration: 27b09ddf74bddfa30a58d20e48f885ea6ed6c9d9 + React-RCTAnimation: fa103ccc3503b1ed8dedca7e62e7823937748843 + React-RCTAppDelegate: 665d4baf19424cef08276e9ac0d8771eec4519f9 + React-RCTBlob: 0fa9530c255644db095f2c4fd8d89738d9d9ecc0 + React-RCTFabric: 1fcd8af6e25f92532f56b4ba092e58662c14d156 + React-RCTFBReactNativeSpec: db171247585774f9f0a30f75109cc51568686213 + React-RCTImage: ba824e61ce2e920a239a65d130b83c3a1d426dff + React-RCTLinking: d2dc199c37e71e6f505d9eca3e5c33be930014d4 + React-RCTNetwork: 87137d4b9bd77e5068f854dd5c1f30d4b072faf6 + React-RCTRuntime: 137fafaa808a8b7e76a510e8be45f9f827899daa + React-RCTSettings: 71f5c7fd7b5f4e725a4e2114a4b4373d0e46048f + React-RCTText: b94d4699b49285bee22b8ebf768924d607eccee3 + React-RCTVibration: 6e3993c4f6c36a3899059f9a9ead560ddaf5a7d7 React-rendererconsistency: b4785e5ed837dc7c242bbc5fdd464b33ef5bfae7 - React-renderercss: cef3f26df2ddec558ce3c0790fc574b4fb62ce67 - React-rendererdebug: e68433ae67738caeb672a6c8cc993e9276b298a9 - React-RuntimeApple: dc1d4709bf847bc695dbe6e8aaf3e22ef25aef02 - React-RuntimeCore: ca3473c8b6578693fa3bad4d44240098d49d6723 - React-runtimeexecutor: 0db3ca0b09cd72489cef3a3729349b3c2cf13320 - React-RuntimeHermes: f92cabaf97ef2546a74360eddfc1c74a34cb9ff8 - React-runtimescheduler: 06aea75069e0d556a75d258bfc89eb0ebd5d557e - React-timing: 1a90df9a04d8e7fd165ff7fa0918b9595c776373 - React-utils: 92115441fb55ce01ded4abfb5e9336a74cd93e9c - ReactAppDependencyProvider: b20fba6c3d091a393925890009999472c8f94d95 - ReactCodegen: 58dc2eb138a27145826ad7d5568610159dfcadee - ReactCommon: 00df7b9f859c9d02181844255bb89a8bca544374 + React-renderercss: e6fb0ba387b389c595ffa86b8b628716d31f58dc + React-rendererdebug: 60a03de5c7ea59bf2d39791eb43c4c0f5d8b24e3 + React-RuntimeApple: 3df6788cd9b938bb8cb28298d80b5fbd98a4d852 + React-RuntimeCore: fad8adb4172c414c00ff6980250caf35601a0f5d + React-runtimeexecutor: d2db7e72d97751855ea0bf5273d2ac84e5ea390c + React-RuntimeHermes: 04faa4cf9a285136a6d73738787fe36020170613 + React-runtimescheduler: f6a1c9555e7131b4a8b64cce01489ad0405f6e8d + React-timing: 1e6a8acb66e2b7ac9d418956617fd1fdb19322fd + React-utils: 52bbb03f130319ef82e4c3bc7a85eaacdb1fec87 + ReactAppDependencyProvider: 433ddfb4536948630aadd5bd925aff8a632d2fe3 + ReactCodegen: 1d05923ad119796be9db37830d5e5dc76586aa00 + ReactCommon: 394c6b92765cf6d211c2c3f7f6bc601dffb316a6 SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 - Yoga: a3ed390a19db0459bd6839823a6ac6d9c6db198d + Yoga: 922d794dce2af9c437f864bf4093abfa7a131adb PODFILE CHECKSUM: 30222b370f2c6e2622deeb5e8d786e95202de871 diff --git a/mobile-app/ios/main.h b/mobile-app/ios/main.h deleted file mode 100644 index 9f03cff..0000000 --- a/mobile-app/ios/main.h +++ /dev/null @@ -1,35 +0,0 @@ -/* Generated by Nim Compiler v2.2.0 */ -#ifndef __main__ -#define __main__ -#define NIM_INTBITS 64 -#define NIM_EmulateOverflowChecks - -#include "nimbase.h" -#undef LANGUAGE_C -#undef MIPSEB -#undef MIPSEL -#undef PPC -#undef R3000 -#undef R4000 -#undef i386 -#undef linux -#undef mips -#undef near -#undef far -#undef powerpc -#undef unix -extern "C" N_LIB_PRIVATE N_NOCONV(void, signalHandler)(int sign_p0); -extern "C" N_LIB_IMPORT N_CDECL(NCSTRING, helloWorld)(void); -extern "C" N_LIB_IMPORT N_CDECL(int, addNumbers)(int a_p0, int b_p1); -extern "C" N_LIB_IMPORT N_CDECL(NCSTRING, getSystemInfo)(void); -extern "C" N_LIB_IMPORT N_CDECL(void, freeString)(NCSTRING s_p0); -extern "C" N_LIB_IMPORT N_CDECL(int, mobileFibonacci)(int n_p0); -extern "C" N_LIB_IMPORT N_CDECL(int, mobileIsPrime)(int n_p0); -extern "C" N_LIB_IMPORT N_CDECL(NCSTRING, mobileFactorize)(int n_p0); -extern "C" N_LIB_IMPORT N_CDECL(NCSTRING, mobileCreateUser)(int id_p0, NCSTRING name_p1, NCSTRING email_p2); -extern "C" N_LIB_IMPORT N_CDECL(int, mobileValidateEmail)(NCSTRING email_p0); -extern "C" N_LIB_IMPORT N_CDECL(void, mobileNimInit)(void); -extern "C" N_LIB_IMPORT N_CDECL(void, mobileNimShutdown)(void); -extern "C" N_LIB_IMPORT N_CDECL(NCSTRING, getNimCoreVersion)(void); -N_LIB_IMPORT N_CDECL(void, NimMain)(void); -#endif /* __main__ */ diff --git a/mobile-app/ios/nim_core b/mobile-app/ios/nim_core deleted file mode 100755 index eb78db3..0000000 Binary files a/mobile-app/ios/nim_core and /dev/null differ diff --git a/mobile-app/ios/nim_core.h b/mobile-app/ios/nim_core.h deleted file mode 100644 index e1bcc75..0000000 --- a/mobile-app/ios/nim_core.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef NIM_CORE_BINDINGS_H -#define NIM_CORE_BINDINGS_H - -#ifdef __cplusplus -extern "C" { -#endif - -// Core API functions -const char* helloWorld(void); -int addNumbers(int a, int b); -const char* getSystemInfo(void); - -// Math operations -int mobileFibonacci(int n); -int mobileIsPrime(int n); -const char* mobileFactorize(int n); - -// Data operations -const char* mobileCreateUser(int id, const char* name, const char* email); -int mobileValidateEmail(const char* email); - -// Runtime management -void mobileNimInit(void); -void mobileNimShutdown(void); -void NimMain(void); - -// Version info -const char* getNimCoreVersion(void); - -#ifdef __cplusplus -} -#endif - -#endif // NIM_CORE_BINDINGS_H diff --git a/mobile-app/ios/nim_core.json b/mobile-app/ios/nim_core.json deleted file mode 100644 index e7c3f33..0000000 --- a/mobile-app/ios/nim_core.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "cacheVersion": "D20240927T193831", - "outputFile": "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/nim_core", - "outputLastModificationTime": "", - "compile": [ - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp" - ], - [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp", - "clang++ -c -std=gnu++17 -funsigned-char -pthread -fPIC -O3 -fno-ident -fPIC -I/opt/homebrew/Cellar/nim/2.2.0/nim/lib -I/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/src -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp" - ] - ], - "link": [ - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp.o", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp.o" - ], - "linkcmd": "clang++ -shared -o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/nim_core /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sexceptions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sprivate@sdigitsutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@sassertions.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem@sdollars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@stypedthreads.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@ssyncio.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@ssystem.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sunicode.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@salgorithm.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrutils.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@sstrformat.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mapi@score.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@smath.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@soserrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sposix@sposix.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@stimes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@sstd@senvvars.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@smemfiles.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sptrops.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s..@s..@sopt@shomebrew@sCellar@snim@s2.2.0@snim@slib@spure@scollections@sdeques.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sbuffers.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@sinputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sstew-0.4.1-996d9c058ee078d0209a5f539424a0235683918c@sstew@sstrings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sfaststreams-0.3.0-537acd856f131772e5553318f53bf1263935034a@sfaststreams@soutputs.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sserialization-0.2.2-8cd7d369b8e128106c1978b5bae42fe56689d880@sserialization@serrors.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@stypes.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@sreader_desc.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@m..@s..@s..@s..@s..@s.nimble@spkgs2@sjson_serialization-0.4.2-2b26a9e0fc79638dbb9272fb4ab5a1d79264f938@sjson_serialization@swriter.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mbusiness@sdata.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmobile@sbindings.nim.cpp.o /Users/siddarthkumar/code/siddarthkay/react-native-nim/bindings/ios/@mmain.nim.cpp.o -fPIC -ldl", - "extraCmds": [], - "configFiles": [ - "/opt/homebrew/Cellar/nim/2.2.0/nim/config/nim.cfg", - "/opt/homebrew/Cellar/nim/2.2.0/nim/config/config.nims", - "/Users/siddarthkumar/code/siddarthkay/react-native-nim/nim-core/nim.cfg" - ], - "stdinInput": false, - "projectIsCmd": false, - "cmdInput": "", - "currentDir": "/Users/siddarthkumar/code/siddarthkay/react-native-nim", - "cmdline": "", - "depfiles": [], - "nimexe": "" -} \ No newline at end of file diff --git a/mobile-app/modules/nim-bridge/android/src/main/cpp/NimBridge.cpp b/mobile-app/modules/nim-bridge/android/src/main/cpp/NimBridge.cpp deleted file mode 100644 index dd532dd..0000000 --- a/mobile-app/modules/nim-bridge/android/src/main/cpp/NimBridge.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// Auto-generated JNI C++ bridge for Android -// DO NOT EDIT MANUALLY - Generated by tools/generate_bindings.py -// This file will be overwritten when bindings are regenerated - -#include -#include - -// Import the Nim functions -extern "C" { - const char* helloWorld(); - int addNumbers(int a, int b); - const char* getSystemInfo(); - long long mobileFibonacci(int n); - int mobileIsPrime(int n); - const char* mobileFactorize(int n); - const char* mobileCreateUser(int id, const char* name, const char* email); - int mobileValidateEmail(const char* email); - const char* getNimCoreVersion(); - void mobileNimInit(); - void mobileNimShutdown(); - void freeString(const char* s); -} - -// Initialize Nim when the library loads -static bool nimInitialized = false; - -void initializeNim() { - if (!nimInitialized) { - mobileNimInit(); - nimInitialized = true; - } -} - -extern "C" JNIEXPORT jstring JNICALL -Java_com_nimbridge_NimBridgeModule_nativeHelloWorld(JNIEnv *env, jclass clazz) { - initializeNim(); - const char* result = helloWorld(); - jstring javaString = env->NewStringUTF(result); - return javaString; -} - -extern "C" JNIEXPORT jint JNICALL -Java_com_nimbridge_NimBridgeModule_nativeAddNumbers(JNIEnv *env, jclass clazz, jint a, jint b) { - initializeNim(); - int result = addNumbers(a, b); - return result; -} - -extern "C" JNIEXPORT jstring JNICALL -Java_com_nimbridge_NimBridgeModule_nativeGetSystemInfo(JNIEnv *env, jclass clazz) { - initializeNim(); - const char* result = getSystemInfo(); - jstring javaString = env->NewStringUTF(result); - if (result) freeString(result); - return javaString; -} - -extern "C" JNIEXPORT jlong JNICALL -Java_com_nimbridge_NimBridgeModule_nativeMobileFibonacci(JNIEnv *env, jclass clazz, jint n) { - initializeNim(); - long long result = mobileFibonacci(n); - return (jlong)result; -} - -extern "C" JNIEXPORT jint JNICALL -Java_com_nimbridge_NimBridgeModule_nativeMobileIsPrime(JNIEnv *env, jclass clazz, jint n) { - initializeNim(); - int result = mobileIsPrime(n); - return result; -} - -extern "C" JNIEXPORT jstring JNICALL -Java_com_nimbridge_NimBridgeModule_nativeMobileFactorize(JNIEnv *env, jclass clazz, jint n) { - initializeNim(); - const char* result = mobileFactorize(n); - jstring javaString = env->NewStringUTF(result); - if (result) freeString(result); - return javaString; -} - -extern "C" JNIEXPORT jstring JNICALL -Java_com_nimbridge_NimBridgeModule_nativeMobileCreateUser(JNIEnv *env, jclass clazz, jint id, jstring name, jstring email) { - initializeNim(); - const char* nameStr = env->GetStringUTFChars(name, 0); - const char* emailStr = env->GetStringUTFChars(email, 0); - const char* result = mobileCreateUser(id, nameStr, emailStr); - jstring javaString = env->NewStringUTF(result); - if (result) freeString(result); - env->ReleaseStringUTFChars(name, nameStr); - env->ReleaseStringUTFChars(email, emailStr); - return javaString; -} - -extern "C" JNIEXPORT jint JNICALL -Java_com_nimbridge_NimBridgeModule_nativeMobileValidateEmail(JNIEnv *env, jclass clazz, jstring email) { - initializeNim(); - const char* emailStr = env->GetStringUTFChars(email, 0); - int result = mobileValidateEmail(emailStr); - env->ReleaseStringUTFChars(email, emailStr); - return result; -} - -extern "C" JNIEXPORT jstring JNICALL -Java_com_nimbridge_NimBridgeModule_nativeGetNimCoreVersion(JNIEnv *env, jclass clazz) { - initializeNim(); - const char* result = getNimCoreVersion(); - jstring javaString = env->NewStringUTF(result); - return javaString; -} - diff --git a/mobile-app/modules/nim-bridge/android/src/main/cpp/nimbase.h b/mobile-app/modules/nim-bridge/android/src/main/cpp/nimbase.h deleted file mode 100644 index cf0c800..0000000 --- a/mobile-app/modules/nim-bridge/android/src/main/cpp/nimbase.h +++ /dev/null @@ -1,609 +0,0 @@ -/* - - Nim's Runtime Library - (c) Copyright 2015 Andreas Rumpf - - See the file "copying.txt", included in this - distribution, for details about the copyright. -*/ - -/* compiler symbols: -__BORLANDC__ -_MSC_VER -__GNUC__ -__TINYC__ -__clang__ -__AVR__ -__arm__ -__EMSCRIPTEN__ -*/ - - -#ifndef NIMBASE_H -#define NIMBASE_H - -/*------------ declaring a custom attribute to support using LLVM's Address Sanitizer ------------ */ - -/* - This definition exists to provide support for using the LLVM ASAN (Address SANitizer) tooling with Nim. This - should only be used to mark implementations of the GC system that raise false flags with the ASAN tooling, or - for functions that are hot and need to be disabled for performance reasons. Based on the official ASAN - documentation, both the clang and gcc compilers are supported. In addition to that, a check is performed to - verify that the necessary attribute is supported by the compiler. - - To flag a proc as ignored, append the following code pragma to the proc declaration: - {.codegenDecl: "CLANG_NO_SANITIZE_ADDRESS $# $#$#".} - - For further information, please refer to the official documentation: - https://github.com/google/sanitizers/wiki/AddressSanitizer - */ -#define CLANG_NO_SANITIZE_ADDRESS -#if defined(__clang__) -# if __has_attribute(no_sanitize_address) -# undef CLANG_NO_SANITIZE_ADDRESS -# define CLANG_NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address)) -# endif -#endif - - -/* ------------ ignore typical warnings in Nim-generated files ------------- */ -#if defined(__GNUC__) || defined(__clang__) -# pragma GCC diagnostic ignored "-Wpragmas" -# pragma GCC diagnostic ignored "-Wwritable-strings" -# pragma GCC diagnostic ignored "-Winvalid-noreturn" -# pragma GCC diagnostic ignored "-Wformat" -# pragma GCC diagnostic ignored "-Wlogical-not-parentheses" -# pragma GCC diagnostic ignored "-Wlogical-op-parentheses" -# pragma GCC diagnostic ignored "-Wshadow" -# pragma GCC diagnostic ignored "-Wunused-function" -# pragma GCC diagnostic ignored "-Wunused-variable" -# pragma GCC diagnostic ignored "-Winvalid-offsetof" -# pragma GCC diagnostic ignored "-Wtautological-compare" -# pragma GCC diagnostic ignored "-Wswitch-bool" -# pragma GCC diagnostic ignored "-Wmacro-redefined" -# pragma GCC diagnostic ignored "-Wincompatible-pointer-types-discards-qualifiers" -# pragma GCC diagnostic ignored "-Wpointer-bool-conversion" -# pragma GCC diagnostic ignored "-Wconstant-conversion" -#endif - -#if defined(_MSC_VER) -# pragma warning(disable: 4005 4100 4101 4189 4191 4200 4244 4293 4296 4309) -# pragma warning(disable: 4310 4365 4456 4477 4514 4574 4611 4668 4702 4706) -# pragma warning(disable: 4710 4711 4774 4800 4809 4820 4996 4090 4297) -#endif -/* ------------------------------------------------------------------------- */ - -#if defined(__GNUC__) && !defined(__ZEPHYR__) -/* Zephyr does some magic in it's headers that override the GCC stdlib. This breaks that. */ -# define _GNU_SOURCE 1 -#endif - -#if defined(__TINYC__) -/*# define __GNUC__ 3 -# define GCC_MAJOR 4 -# define __GNUC_MINOR__ 4 -# define __GNUC_PATCHLEVEL__ 5 */ -# define __DECLSPEC_SUPPORTED 1 -#endif - -/* calling convention mess ----------------------------------------------- */ -#if defined(__GNUC__) || defined(__TINYC__) - /* these should support C99's inline */ -# define N_INLINE(rettype, name) inline rettype name -#elif defined(__BORLANDC__) || defined(_MSC_VER) -/* Borland's compiler is really STRANGE here; note that the __fastcall - keyword cannot be before the return type, but __inline cannot be after - the return type, so we do not handle this mess in the code generator - but rather here. */ -# define N_INLINE(rettype, name) __inline rettype name -#else /* others are less picky: */ -# define N_INLINE(rettype, name) rettype __inline name -#endif - -#define N_INLINE_PTR(rettype, name) rettype (*name) - -#if defined(__cplusplus) -# define NIM_CONST /* C++ is picky with const modifiers */ -#else -# define NIM_CONST const -#endif - -/* - NIM_THREADVAR declaration based on - http://stackoverflow.com/questions/18298280/how-to-declare-a-variable-as-thread-local-portably -*/ -#if defined _WIN32 -# if defined _MSC_VER || defined __BORLANDC__ -# define NIM_THREADVAR __declspec(thread) -# else -# define NIM_THREADVAR __thread -# endif -#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112 && !defined __STDC_NO_THREADS__ -# define NIM_THREADVAR _Thread_local -#elif defined _WIN32 && ( \ - defined _MSC_VER || \ - defined __ICL || \ - defined __BORLANDC__ ) -# define NIM_THREADVAR __declspec(thread) -#elif defined(__TINYC__) || defined(__GENODE__) -# define NIM_THREADVAR -/* note that ICC (linux) and Clang are covered by __GNUC__ */ -#elif defined __GNUC__ || \ - defined __SUNPRO_C || \ - defined __xlC__ -# define NIM_THREADVAR __thread -#else -# error "Cannot define NIM_THREADVAR" -#endif - -#if defined(__cplusplus) - #define NIM_THREAD_LOCAL thread_local -#endif - -/* --------------- how int64 constants should be declared: ----------- */ -#if defined(__GNUC__) || defined(_MSC_VER) -# define IL64(x) x##LL -#else /* works only without LL */ -# define IL64(x) ((NI64)x) -#endif - -/* ---------------- casting without correct aliasing rules ----------- */ - -#if defined(__GNUC__) -# define NIM_CAST(type, ptr) (((union{type __x__;}*)(ptr))->__x__) -#else -# define NIM_CAST(type, ptr) ((type)(ptr)) -#endif - - -/* ------------------------------------------------------------------- */ -#ifdef __cplusplus -# define NIM_EXTERNC extern "C" -#else -# define NIM_EXTERNC -#endif - -#if defined(WIN32) || defined(_WIN32) /* only Windows has this mess... */ -# define N_LIB_PRIVATE -# define N_CDECL(rettype, name) rettype __cdecl name -# define N_STDCALL(rettype, name) rettype __stdcall name -# define N_SYSCALL(rettype, name) rettype __syscall name -# define N_FASTCALL(rettype, name) rettype __fastcall name -# define N_THISCALL(rettype, name) rettype __thiscall name -# define N_SAFECALL(rettype, name) rettype __stdcall name -/* function pointers with calling convention: */ -# define N_CDECL_PTR(rettype, name) rettype (__cdecl *name) -# define N_STDCALL_PTR(rettype, name) rettype (__stdcall *name) -# define N_SYSCALL_PTR(rettype, name) rettype (__syscall *name) -# define N_FASTCALL_PTR(rettype, name) rettype (__fastcall *name) -# define N_THISCALL_PTR(rettype, name) rettype (__thiscall *name) -# define N_SAFECALL_PTR(rettype, name) rettype (__stdcall *name) - -# ifdef __EMSCRIPTEN__ -# define N_LIB_EXPORT NIM_EXTERNC __declspec(dllexport) __attribute__((used)) -# define N_LIB_EXPORT_VAR __declspec(dllexport) __attribute__((used)) -# else -# define N_LIB_EXPORT NIM_EXTERNC __declspec(dllexport) -# define N_LIB_EXPORT_VAR __declspec(dllexport) -# endif -# define N_LIB_IMPORT extern __declspec(dllimport) -#else -# define N_LIB_PRIVATE __attribute__((visibility("hidden"))) -# if defined(__GNUC__) -# define N_CDECL(rettype, name) rettype name -# define N_STDCALL(rettype, name) rettype name -# define N_SYSCALL(rettype, name) rettype name -# define N_FASTCALL(rettype, name) __attribute__((fastcall)) rettype name -# define N_SAFECALL(rettype, name) rettype name -/* function pointers with calling convention: */ -# define N_CDECL_PTR(rettype, name) rettype (*name) -# define N_STDCALL_PTR(rettype, name) rettype (*name) -# define N_SYSCALL_PTR(rettype, name) rettype (*name) -# define N_FASTCALL_PTR(rettype, name) __attribute__((fastcall)) rettype (*name) -# define N_SAFECALL_PTR(rettype, name) rettype (*name) -# else -# define N_CDECL(rettype, name) rettype name -# define N_STDCALL(rettype, name) rettype name -# define N_SYSCALL(rettype, name) rettype name -# define N_FASTCALL(rettype, name) rettype name -# define N_SAFECALL(rettype, name) rettype name -/* function pointers with calling convention: */ -# define N_CDECL_PTR(rettype, name) rettype (*name) -# define N_STDCALL_PTR(rettype, name) rettype (*name) -# define N_SYSCALL_PTR(rettype, name) rettype (*name) -# define N_FASTCALL_PTR(rettype, name) rettype (*name) -# define N_SAFECALL_PTR(rettype, name) rettype (*name) -# endif -# ifdef __EMSCRIPTEN__ -# define N_LIB_EXPORT NIM_EXTERNC __attribute__((visibility("default"), used)) -# define N_LIB_EXPORT_VAR __attribute__((visibility("default"), used)) -# else -# define N_LIB_EXPORT NIM_EXTERNC __attribute__((visibility("default"))) -# define N_LIB_EXPORT_VAR __attribute__((visibility("default"))) -# endif -# define N_LIB_IMPORT extern -#endif - -#define N_NOCONV(rettype, name) rettype name -/* specify no calling convention */ -#define N_NOCONV_PTR(rettype, name) rettype (*name) - -#if defined(__GNUC__) || defined(__ICC__) -# define N_NOINLINE(rettype, name) rettype __attribute__((__noinline__)) name -#elif defined(_MSC_VER) -# define N_NOINLINE(rettype, name) __declspec(noinline) rettype name -#else -# define N_NOINLINE(rettype, name) rettype name -#endif - -#define N_NOINLINE_PTR(rettype, name) rettype (*name) - -#if defined(__BORLANDC__) || defined(_MSC_VER) || defined(WIN32) || defined(_WIN32) -/* these compilers have a fastcall so use it: */ -# ifdef __TINYC__ -# define N_NIMCALL(rettype, name) rettype __attribute((__fastcall)) name -# define N_NIMCALL_PTR(rettype, name) rettype (__attribute((__fastcall)) *name) -# define N_RAW_NIMCALL __attribute((__fastcall)) -# else -# define N_NIMCALL(rettype, name) rettype __fastcall name -# define N_NIMCALL_PTR(rettype, name) rettype (__fastcall *name) -# define N_RAW_NIMCALL __fastcall -# endif -#else -# define N_NIMCALL(rettype, name) rettype name /* no modifier */ -# define N_NIMCALL_PTR(rettype, name) rettype (*name) -# define N_RAW_NIMCALL -#endif - -#define N_CLOSURE(rettype, name) N_NIMCALL(rettype, name) -#define N_CLOSURE_PTR(rettype, name) N_NIMCALL_PTR(rettype, name) - -/* ----------------------------------------------------------------------- */ - -#define COMMA , - -#include -#include - -// define NIM_STATIC_ASSERT -// example use case: CT sizeof for importc types verification -// where we have {.completeStruct.} (or lack of {.incompleteStruct.}) -#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) -#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg) -#elif defined(__cplusplus) -#define NIM_STATIC_ASSERT(x, msg) static_assert((x), msg) -#else -#define _NIM_STATIC_ASSERT_FINAL(x, append_name) typedef int NIM_STATIC_ASSERT_AUX ## append_name[(x) ? 1 : -1]; -#define _NIM_STATIC_ASSERT_STAGE_3(x, line) _NIM_STATIC_ASSERT_FINAL(x, _AT_LINE_##line) -#define _NIM_STATIC_ASSERT_STAGE_2(x, line) _NIM_STATIC_ASSERT_STAGE_3(x, line) -#define NIM_STATIC_ASSERT(x, msg) _NIM_STATIC_ASSERT_STAGE_2(x,__LINE__) -// On failure, your C compiler will say something like: -// "error: 'NIM_STATIC_ASSERT_AUX_AT_LINE_XXX' declared as an array with a negative size" -// Adding the line number helps to avoid redefinitions which are not allowed in -// old GCC versions, however the order of evaluation for __LINE__ is a little tricky, -// hence all the helper macros. See https://stackoverflow.com/a/3385694 for more info. -#endif - -/* C99 compiler? */ -#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) -# define HAVE_STDINT_H -#endif - -/* Known compiler with stdint.h that doesn't fit the general pattern? */ -#if defined(__AVR__) || (defined(__cplusplus) && (__cplusplus < 201103)) -# define HAVE_STDINT_H -#endif - -#if (!defined(HAVE_STDINT_H) && defined(__cplusplus) && (__cplusplus >= 201103)) -# define HAVE_CSTDINT -#endif - - -/* wrap all Nim typedefs into namespace Nim */ -#ifdef USE_NIM_NAMESPACE -#ifdef HAVE_CSTDINT -#include -#else -#include -#endif -namespace USE_NIM_NAMESPACE { -#endif - -// preexisting check, seems paranoid, maybe remove -#if defined(NIM_TRUE) || defined(NIM_FALSE) || defined(NIM_BOOL) -#error "nim reserved preprocessor macros clash" -#endif - -/* bool types (C++ has it): */ -#ifdef __cplusplus -#define NIM_BOOL bool -#elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901) -// see #13798: to avoid conflicts for code emitting `#include ` -#define NIM_BOOL _Bool -#else -typedef unsigned char NIM_BOOL; // best effort -#endif - -NIM_STATIC_ASSERT(sizeof(NIM_BOOL) == 1, ""); // check whether really needed -NIM_STATIC_ASSERT(CHAR_BIT == 8, ""); - // fail fast for (rare) environments where this doesn't hold, as some implicit - // assumptions would need revisiting (e.g. `uint8` or https://github.com/nim-lang/Nim/pull/18505) - -#define NIM_TRUE true -#define NIM_FALSE false - -#ifdef __cplusplus -# if __cplusplus >= 201103L -# /* nullptr is more type safe (less implicit conversions than 0) */ -# define NIM_NIL nullptr -# else -# // both `((void*)0)` and `NULL` would cause codegen to emit -# // error: assigning to 'Foo *' from incompatible type 'void *' -# // but codegen could be fixed if need. See also potential caveat regarding -# // NULL. -# // However, `0` causes other issues, see #13798 -# define NIM_NIL 0 -# endif -#else -# include -# define NIM_NIL ((void*)0) /* C's NULL is fucked up in some C compilers, so - the generated code does not rely on it anymore */ -#endif - -#if defined(__BORLANDC__) || defined(_MSC_VER) -typedef signed char NI8; -typedef signed short int NI16; -typedef signed int NI32; -typedef __int64 NI64; -/* XXX: Float128? */ -typedef unsigned char NU8; -typedef unsigned short int NU16; -typedef unsigned int NU32; -typedef unsigned __int64 NU64; -#elif defined(HAVE_STDINT_H) -#ifndef USE_NIM_NAMESPACE -# include -#endif -typedef int8_t NI8; -typedef int16_t NI16; -typedef int32_t NI32; -typedef int64_t NI64; -typedef uint8_t NU8; -typedef uint16_t NU16; -typedef uint32_t NU32; -typedef uint64_t NU64; -#elif defined(HAVE_CSTDINT) -#ifndef USE_NIM_NAMESPACE -# include -#endif -typedef std::int8_t NI8; -typedef std::int16_t NI16; -typedef std::int32_t NI32; -typedef std::int64_t NI64; -typedef std::uint8_t NU8; -typedef std::uint16_t NU16; -typedef std::uint32_t NU32; -typedef std::uint64_t NU64; -#else -/* Unknown compiler/version, do our best */ -#ifdef __INT8_TYPE__ -typedef __INT8_TYPE__ NI8; -#else -typedef signed char NI8; -#endif -#ifdef __INT16_TYPE__ -typedef __INT16_TYPE__ NI16; -#else -typedef signed short int NI16; -#endif -#ifdef __INT32_TYPE__ -typedef __INT32_TYPE__ NI32; -#else -typedef signed int NI32; -#endif -#ifdef __INT64_TYPE__ -typedef __INT64_TYPE__ NI64; -#else -typedef long long int NI64; -#endif -/* XXX: Float128? */ -#ifdef __UINT8_TYPE__ -typedef __UINT8_TYPE__ NU8; -#else -typedef unsigned char NU8; -#endif -#ifdef __UINT16_TYPE__ -typedef __UINT16_TYPE__ NU16; -#else -typedef unsigned short int NU16; -#endif -#ifdef __UINT32_TYPE__ -typedef __UINT32_TYPE__ NU32; -#else -typedef unsigned int NU32; -#endif -#ifdef __UINT64_TYPE__ -typedef __UINT64_TYPE__ NU64; -#else -typedef unsigned long long int NU64; -#endif -#endif - -#ifdef NIM_INTBITS -# if NIM_INTBITS == 64 -typedef NI64 NI; -typedef NU64 NU; -# elif NIM_INTBITS == 32 -typedef NI32 NI; -typedef NU32 NU; -# elif NIM_INTBITS == 16 -typedef NI16 NI; -typedef NU16 NU; -# elif NIM_INTBITS == 8 -typedef NI8 NI; -typedef NU8 NU; -# else -# error "invalid bit width for int" -# endif -#endif - -// for now there isn't an easy way for C code to reach the program result -// when hot code reloading is ON - users will have to: -// load the nimhcr.dll, get the hcrGetGlobal proc from there and use it -#ifndef NIM_HOT_CODE_RELOADING -extern NI nim_program_result; -#endif - -typedef float NF32; -typedef double NF64; -typedef double NF; - -typedef char NIM_CHAR; -typedef char* NCSTRING; - -#ifdef NIM_BIG_ENDIAN -# define NIM_IMAN 1 -#else -# define NIM_IMAN 0 -#endif - -#define NIM_STRLIT_FLAG ((NU)(1) << ((NIM_INTBITS) - 2)) /* This has to be the same as system.strlitFlag! */ - -#define STRING_LITERAL(name, str, length) \ - static const struct { \ - TGenericSeq Sup; \ - NIM_CHAR data[(length) + 1]; \ - } name = {{length, (NI) ((NU)length | NIM_STRLIT_FLAG)}, str} - -/* declared size of a sequence/variable length array: */ -#if defined(__cplusplus) && defined(__clang__) -# define SEQ_DECL_SIZE 1 -#elif defined(__GNUC__) || defined(_MSC_VER) -# define SEQ_DECL_SIZE /* empty is correct! */ -#else -# define SEQ_DECL_SIZE 1000000 -#endif - -#define ALLOC_0(size) calloc(1, size) -#define DL_ALLOC_0(size) dlcalloc(1, size) - -#define paramCount() cmdCount - -// NAN definition copied from math.h included in the Windows SDK version 10.0.14393.0 -#ifndef NAN -# ifndef _HUGE_ENUF -# define _HUGE_ENUF 1e+300 // _HUGE_ENUF*_HUGE_ENUF must overflow -# endif -# define NAN_INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF)) -# define NAN ((float)(NAN_INFINITY * 0.0F)) -#endif - -#ifndef INF -# ifdef INFINITY -# define INF INFINITY -# elif defined(HUGE_VAL) -# define INF HUGE_VAL -# elif defined(_MSC_VER) -# include -# define INF (DBL_MAX+DBL_MAX) -# else -# define INF (1.0 / 0.0) -# endif -#endif - -typedef struct TFrame_ TFrame; -struct TFrame_ { - TFrame* prev; - NCSTRING procname; - NI line; - NCSTRING filename; - NI16 len; - NI16 calldepth; - NI frameMsgLen; -}; - -#define NIM_POSIX_INIT __attribute__((constructor)) - -#ifdef __GNUC__ -# define NIM_LIKELY(x) __builtin_expect(x, 1) -# define NIM_UNLIKELY(x) __builtin_expect(x, 0) -/* We need the following for the posix wrapper. In particular it will give us - POSIX_SPAWN_USEVFORK: */ -# ifndef _GNU_SOURCE -# define _GNU_SOURCE -# endif -#else -# define NIM_LIKELY(x) (x) -# define NIM_UNLIKELY(x) (x) -#endif - -#if 0 // defined(__GNUC__) || defined(__clang__) -// not needed anymore because the stack marking cares about -// interior pointers now -static inline void GCGuard (void *ptr) { asm volatile ("" :: "X" (ptr)); } -# define GC_GUARD __attribute__ ((cleanup(GCGuard))) -#else -# define GC_GUARD -#endif - -// Test to see if Nim and the C compiler agree on the size of a pointer. -NIM_STATIC_ASSERT(sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8, "Pointer size mismatch between Nim and C/C++ backend. You probably need to setup the backend compiler for target CPU."); - -#ifdef USE_NIM_NAMESPACE -} -#endif - -#if defined(_MSC_VER) -# define NIM_ALIGN(x) __declspec(align(x)) -# define NIM_ALIGNOF(x) __alignof(x) -#else -# define NIM_ALIGN(x) __attribute__((aligned(x))) -# define NIM_ALIGNOF(x) __alignof__(x) -#endif - -/* ---------------- platform specific includes ----------------------- */ - -/* VxWorks related includes */ -#if defined(__VXWORKS__) -# include -# include -# include -#elif defined(__FreeBSD__) -# include -#endif - -/* these exist to make the codegen logic simpler */ -#define nimModInt(a, b, res) (((*res) = (a) % (b)), 0) -#define nimModInt64(a, b, res) (((*res) = (a) % (b)), 0) - -#if (!defined(_MSC_VER) || defined(__clang__)) && !defined(NIM_EmulateOverflowChecks) - /* these exist because we cannot have .compilerProcs that are importc'ed - by a different name */ - - #define nimAddInt64(a, b, res) __builtin_saddll_overflow(a, b, (long long int*)res) - #define nimSubInt64(a, b, res) __builtin_ssubll_overflow(a, b, (long long int*)res) - #define nimMulInt64(a, b, res) __builtin_smulll_overflow(a, b, (long long int*)res) - - #if NIM_INTBITS == 32 - #if defined(__arm__) && defined(__GNUC__) - /* arm-none-eabi-gcc targets defines int32_t as long int */ - #define nimAddInt(a, b, res) __builtin_saddl_overflow(a, b, res) - #define nimSubInt(a, b, res) __builtin_ssubl_overflow(a, b, res) - #define nimMulInt(a, b, res) __builtin_smull_overflow(a, b, res) - #else - #define nimAddInt(a, b, res) __builtin_sadd_overflow(a, b, res) - #define nimSubInt(a, b, res) __builtin_ssub_overflow(a, b, res) - #define nimMulInt(a, b, res) __builtin_smul_overflow(a, b, res) - #endif - #else - /* map it to the 'long long' variant */ - #define nimAddInt(a, b, res) __builtin_saddll_overflow(a, b, (long long int*)res) - #define nimSubInt(a, b, res) __builtin_ssubll_overflow(a, b, (long long int*)res) - #define nimMulInt(a, b, res) __builtin_smulll_overflow(a, b, (long long int*)res) - #endif -#endif - -#define NIM_NOALIAS __restrict -/* __restrict is said to work for all the C(++) compilers out there that we support */ - -#endif /* NIMBASE_H */ diff --git a/mobile-app/modules/nim-bridge/ios/NimBridge.h b/mobile-app/modules/nim-bridge/ios/NimBridge.h deleted file mode 100644 index ee4c2f0..0000000 --- a/mobile-app/modules/nim-bridge/ios/NimBridge.h +++ /dev/null @@ -1,32 +0,0 @@ -// Auto-generated Objective-C++ bridge header -// DO NOT EDIT MANUALLY - Generated by tools/generate_bindings.py -// This file will be overwritten when bindings are regenerated - -#import -#include "NimBridgeSpecJSI.h" - -class NimBridgeImpl : public facebook::react::NativeNimBridgeCxxSpec { -public: - NimBridgeImpl(std::shared_ptr jsInvoker); - - // Core API - facebook::jsi::String helloWorld(facebook::jsi::Runtime &rt); - double addNumbers(facebook::jsi::Runtime &rt, double a, double b); - facebook::jsi::String getSystemInfo(facebook::jsi::Runtime &rt); - - // Math operations - double fibonacci(facebook::jsi::Runtime &rt, double n); - bool isPrime(facebook::jsi::Runtime &rt, double n); - facebook::jsi::String factorize(facebook::jsi::Runtime &rt, double n); - - // Data operations - facebook::jsi::String createUser(facebook::jsi::Runtime &rt, double id, facebook::jsi::String name, facebook::jsi::String email); - bool validateEmail(facebook::jsi::Runtime &rt, facebook::jsi::String email); - - // Version info - facebook::jsi::String getVersion(facebook::jsi::Runtime &rt); -}; - -@interface NimBridge : NSObject - -@end diff --git a/mobile-app/modules/nim-bridge/ios/NimBridge.mm b/mobile-app/modules/nim-bridge/ios/NimBridge.mm deleted file mode 100644 index b6571ae..0000000 --- a/mobile-app/modules/nim-bridge/ios/NimBridge.mm +++ /dev/null @@ -1,88 +0,0 @@ -// Auto-generated Objective-C++ bridge -// DO NOT EDIT MANUALLY - Generated by tools/generate_bindings.py -// This file will be overwritten when bindings are regenerated - -#import "NimBridge.h" -#include "nim_functions.h" -#import - -NimBridgeImpl::NimBridgeImpl(std::shared_ptr jsInvoker) - : NativeNimBridgeCxxSpec(std::move(jsInvoker)) { - // Initialize Nim runtime - NimMain(); - mobileNimInit(); -} - -facebook::jsi::String NimBridgeImpl::helloWorld(facebook::jsi::Runtime &rt) { - NCSTRING result = ::helloWorld(); - std::string str = result ? std::string(result) : ""; - return facebook::jsi::String::createFromUtf8(rt, str); -} - -double NimBridgeImpl::addNumbers(facebook::jsi::Runtime &rt, double a, double b) { - return ::addNumbers(static_cast(a), static_cast(b)); -} - -facebook::jsi::String NimBridgeImpl::getSystemInfo(facebook::jsi::Runtime &rt) { - NCSTRING result = ::getSystemInfo(); - std::string str = result ? std::string(result) : ""; - if (result) freeString(result); - return facebook::jsi::String::createFromUtf8(rt, str); -} - -double NimBridgeImpl::fibonacci(facebook::jsi::Runtime &rt, double n) { - return static_cast(mobileFibonacci(static_cast(n))); -} - -bool NimBridgeImpl::isPrime(facebook::jsi::Runtime &rt, double n) { - return mobileIsPrime(static_cast(n)) != 0; -} - -facebook::jsi::String NimBridgeImpl::factorize(facebook::jsi::Runtime &rt, double n) { - NCSTRING result = mobileFactorize(static_cast(n)); - std::string str = result ? std::string(result) : ""; - if (result) freeString(result); - return facebook::jsi::String::createFromUtf8(rt, str); -} - -facebook::jsi::String NimBridgeImpl::createUser(facebook::jsi::Runtime &rt, double id, facebook::jsi::String name, facebook::jsi::String email) { - std::string nameStr = name.utf8(rt); - std::string emailStr = email.utf8(rt); - NCSTRING result = mobileCreateUser(static_cast(id), const_cast(nameStr.c_str()), const_cast(emailStr.c_str())); - std::string str = result ? std::string(result) : ""; - if (result) freeString(result); - return facebook::jsi::String::createFromUtf8(rt, str); -} - -bool NimBridgeImpl::validateEmail(facebook::jsi::Runtime &rt, facebook::jsi::String email) { - std::string emailStr = email.utf8(rt); - return mobileValidateEmail(const_cast(emailStr.c_str())) != 0; -} - -facebook::jsi::String NimBridgeImpl::getVersion(facebook::jsi::Runtime &rt) { - NCSTRING result = getNimCoreVersion(); - std::string str = result ? std::string(result) : ""; - return facebook::jsi::String::createFromUtf8(rt, str); -} - - -@implementation NimBridge - -RCT_EXPORT_MODULE() - -+ (BOOL)requiresMainQueueSetup -{ - return NO; -} - -- (std::shared_ptr)getTurboModule:(const facebook::react::ObjCTurboModule::InitParams &)params -{ - return std::make_shared(params.jsInvoker); -} - -- (void)dealloc -{ - mobileNimShutdown(); -} - -@end diff --git a/mobile-app/modules/nim-bridge/ios/main.h b/mobile-app/modules/nim-bridge/ios/main.h deleted file mode 100644 index 27275c3..0000000 --- a/mobile-app/modules/nim-bridge/ios/main.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Generated by Nim Compiler v2.2.0 */ -#ifndef __nimbridge__ -#define __nimbridge__ -#define NIM_INTBITS 64 -#define NIM_EmulateOverflowChecks - -#include "nimbase.h" -#undef LANGUAGE_C -#undef MIPSEB -#undef MIPSEL -#undef PPC -#undef R3000 -#undef R4000 -#undef i386 -#undef linux -#undef mips -#undef near -#undef far -#undef powerpc -#undef unix -N_LIB_PRIVATE N_NOCONV(void, signalHandler)(int sign_p0); -N_LIB_PRIVATE N_NIMCALL(NCSTRING, helloWorld)(void); -N_LIB_PRIVATE N_NIMCALL(int, addNumbers)(int a_p0, int b_p1); -N_LIB_PRIVATE N_NIMCALL(NCSTRING, getSystemInfo)(void); -N_LIB_PRIVATE N_NIMCALL(int, mobileFibonacci)(int n_p0); -N_LIB_PRIVATE N_NIMCALL(int, mobileIsPrime)(int n_p0); -N_LIB_PRIVATE N_NIMCALL(NCSTRING, mobileFactorize)(int n_p0); -N_LIB_PRIVATE N_NIMCALL(NCSTRING, mobileCreateUser)(int id_p0, NCSTRING name_p1, NCSTRING email_p2); -N_LIB_PRIVATE N_NIMCALL(int, mobileValidateEmail)(NCSTRING email_p0); -N_LIB_PRIVATE N_NIMCALL(NCSTRING, getNimCoreVersion)(void); -N_LIB_PRIVATE N_NIMCALL(void, mobileNimInit)(void); -N_LIB_PRIVATE N_NIMCALL(void, mobileNimShutdown)(void); -N_CDECL(void, NimMain)(void); -#endif /* __nimbridge__ */ diff --git a/mobile-app/modules/nim-bridge/ios/nim_functions.h b/mobile-app/modules/nim-bridge/ios/nim_functions.h deleted file mode 100644 index 58ba38b..0000000 --- a/mobile-app/modules/nim-bridge/ios/nim_functions.h +++ /dev/null @@ -1,29 +0,0 @@ -// Auto-generated C++ wrapper for Nim functions -// DO NOT EDIT MANUALLY - Generated by tools/generate_bindings.py -// This file will be overwritten when bindings are regenerated - -#include -#include - -extern "C" { - typedef char* NCSTRING; - - // Nim runtime - void NimMain(void); - void mobileNimInit(void); - void mobileNimShutdown(void); - - // Generated function declarations - NCSTRING helloWorld(); - int addNumbers(int a, int b); - NCSTRING getSystemInfo(); - long long mobileFibonacci(int n); - int mobileIsPrime(int n); - NCSTRING mobileFactorize(int n); - NCSTRING mobileCreateUser(int id, NCSTRING name, NCSTRING email); - int mobileValidateEmail(NCSTRING email); - NCSTRING getNimCoreVersion(); - - // Memory management - void freeString(NCSTRING s); -} diff --git a/mobile-app/modules/nim-bridge/ios/nimbase.h b/mobile-app/modules/nim-bridge/ios/nimbase.h deleted file mode 100644 index ebc919b..0000000 --- a/mobile-app/modules/nim-bridge/ios/nimbase.h +++ /dev/null @@ -1,620 +0,0 @@ -/* - - Nim's Runtime Library - (c) Copyright 2015 Andreas Rumpf - - See the file "copying.txt", included in this - distribution, for details about the copyright. -*/ - -/* compiler symbols: -__BORLANDC__ -_MSC_VER -__GNUC__ -__TINYC__ -__clang__ -__AVR__ -__arm__ -__riscv -__EMSCRIPTEN__ -*/ - - -#ifndef NIMBASE_H -#define NIMBASE_H - -/*------------ declaring a custom attribute to support using LLVM's Address Sanitizer ------------ */ - -/* - This definition exists to provide support for using the LLVM ASAN (Address SANitizer) tooling with Nim. This - should only be used to mark implementations of the GC system that raise false flags with the ASAN tooling, or - for functions that are hot and need to be disabled for performance reasons. Based on the official ASAN - documentation, both the clang and gcc compilers are supported. In addition to that, a check is performed to - verify that the necessary attribute is supported by the compiler. - - To flag a proc as ignored, append the following code pragma to the proc declaration: - {.codegenDecl: "CLANG_NO_SANITIZE_ADDRESS $# $#$#".} - - For further information, please refer to the official documentation: - https://github.com/google/sanitizers/wiki/AddressSanitizer - */ -#define CLANG_NO_SANITIZE_ADDRESS -#if defined(__clang__) -# if __has_attribute(no_sanitize_address) -# undef CLANG_NO_SANITIZE_ADDRESS -# define CLANG_NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address)) -# endif -#endif - - -/* ------------ ignore typical warnings in Nim-generated files ------------- */ -#if defined(__GNUC__) || defined(__clang__) -# pragma GCC diagnostic ignored "-Wpragmas" -# pragma GCC diagnostic ignored "-Wwritable-strings" -# pragma GCC diagnostic ignored "-Winvalid-noreturn" -# pragma GCC diagnostic ignored "-Wformat" -# pragma GCC diagnostic ignored "-Wlogical-not-parentheses" -# pragma GCC diagnostic ignored "-Wlogical-op-parentheses" -# pragma GCC diagnostic ignored "-Wshadow" -# pragma GCC diagnostic ignored "-Wunused-function" -# pragma GCC diagnostic ignored "-Wunused-variable" -# pragma GCC diagnostic ignored "-Winvalid-offsetof" -# pragma GCC diagnostic ignored "-Wtautological-compare" -# pragma GCC diagnostic ignored "-Wswitch-bool" -# pragma GCC diagnostic ignored "-Wmacro-redefined" -# pragma GCC diagnostic ignored "-Wincompatible-pointer-types-discards-qualifiers" -# pragma GCC diagnostic ignored "-Wpointer-bool-conversion" -# pragma GCC diagnostic ignored "-Wconstant-conversion" -#endif - -#if defined(_MSC_VER) -# pragma warning(disable: 4005 4100 4101 4189 4191 4200 4244 4293 4296 4309) -# pragma warning(disable: 4310 4365 4456 4477 4514 4574 4611 4668 4702 4706) -# pragma warning(disable: 4710 4711 4774 4800 4809 4820 4996 4090 4297) -#endif -/* ------------------------------------------------------------------------- */ - -#if defined(__GNUC__) && !defined(__ZEPHYR__) -/* Zephyr does some magic in it's headers that override the GCC stdlib. This breaks that. */ -# define _GNU_SOURCE 1 -#endif - -#if defined(__TINYC__) -/*# define __GNUC__ 3 -# define GCC_MAJOR 4 -# define __GNUC_MINOR__ 4 -# define __GNUC_PATCHLEVEL__ 5 */ -# define __DECLSPEC_SUPPORTED 1 -#endif - -/* calling convention mess ----------------------------------------------- */ -#if defined(__GNUC__) || defined(__TINYC__) - /* these should support C99's inline */ -# define N_INLINE(rettype, name) inline rettype name -#elif defined(__BORLANDC__) || defined(_MSC_VER) -/* Borland's compiler is really STRANGE here; note that the __fastcall - keyword cannot be before the return type, but __inline cannot be after - the return type, so we do not handle this mess in the code generator - but rather here. */ -# define N_INLINE(rettype, name) __inline rettype name -#else /* others are less picky: */ -# define N_INLINE(rettype, name) rettype __inline name -#endif - -#define N_INLINE_PTR(rettype, name) rettype (*name) - -#if defined(__cplusplus) -# define NIM_CONST /* C++ is picky with const modifiers */ -#else -# define NIM_CONST const -#endif - -/* - NIM_THREADVAR declaration based on - https://stackoverflow.com/questions/18298280/how-to-declare-a-variable-as-thread-local-portably -*/ -#if defined _WIN32 -# if defined _MSC_VER || defined __BORLANDC__ -# define NIM_THREADVAR __declspec(thread) -# else -# define NIM_THREADVAR __thread -# endif -#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112 && !defined __STDC_NO_THREADS__ -# define NIM_THREADVAR _Thread_local -#elif defined _WIN32 && ( \ - defined _MSC_VER || \ - defined __ICL || \ - defined __BORLANDC__ ) -# define NIM_THREADVAR __declspec(thread) -#elif defined(__TINYC__) || defined(__GENODE__) -# define NIM_THREADVAR -/* note that ICC (linux) and Clang are covered by __GNUC__ */ -#elif defined __GNUC__ || \ - defined __SUNPRO_C || \ - defined __xlC__ -# define NIM_THREADVAR __thread -#else -# error "Cannot define NIM_THREADVAR" -#endif - -#if defined(__cplusplus) - #define NIM_THREAD_LOCAL thread_local -#endif - -/* --------------- how int64 constants should be declared: ----------- */ -#if defined(__GNUC__) || defined(_MSC_VER) -# define IL64(x) x##LL -#else /* works only without LL */ -# define IL64(x) ((NI64)x) -#endif - -/* ---------------- casting without correct aliasing rules ----------- */ - -#if defined(__GNUC__) -# define NIM_CAST(type, ptr) (((union{type __x__;}*)(ptr))->__x__) -#else -# define NIM_CAST(type, ptr) ((type)(ptr)) -#endif - - -/* ------------------------------------------------------------------- */ -#ifdef __cplusplus -# define NIM_EXTERNC extern "C" -#else -# define NIM_EXTERNC -#endif - -#if defined(WIN32) || defined(_WIN32) /* only Windows has this mess... */ -# define N_LIB_PRIVATE -# define N_CDECL(rettype, name) rettype __cdecl name -# define N_STDCALL(rettype, name) rettype __stdcall name -# define N_SYSCALL(rettype, name) rettype __syscall name -# define N_FASTCALL(rettype, name) rettype __fastcall name -# define N_THISCALL(rettype, name) rettype __thiscall name -# define N_SAFECALL(rettype, name) rettype __stdcall name -/* function pointers with calling convention: */ -# define N_CDECL_PTR(rettype, name) rettype (__cdecl *name) -# define N_STDCALL_PTR(rettype, name) rettype (__stdcall *name) -# define N_SYSCALL_PTR(rettype, name) rettype (__syscall *name) -# define N_FASTCALL_PTR(rettype, name) rettype (__fastcall *name) -# define N_THISCALL_PTR(rettype, name) rettype (__thiscall *name) -# define N_SAFECALL_PTR(rettype, name) rettype (__stdcall *name) - -# ifdef __EMSCRIPTEN__ -# define N_LIB_EXPORT NIM_EXTERNC __declspec(dllexport) __attribute__((used)) -# define N_LIB_EXPORT_VAR __declspec(dllexport) __attribute__((used)) -# else -# define N_LIB_EXPORT NIM_EXTERNC __declspec(dllexport) -# define N_LIB_EXPORT_VAR __declspec(dllexport) -# endif -# define N_LIB_IMPORT extern __declspec(dllimport) -#else -# define N_LIB_PRIVATE __attribute__((visibility("hidden"))) -# if defined(__GNUC__) -# define N_CDECL(rettype, name) rettype name -# define N_STDCALL(rettype, name) rettype name -# define N_SYSCALL(rettype, name) rettype name -# define N_FASTCALL(rettype, name) __attribute__((fastcall)) rettype name -# define N_SAFECALL(rettype, name) rettype name -/* function pointers with calling convention: */ -# define N_CDECL_PTR(rettype, name) rettype (*name) -# define N_STDCALL_PTR(rettype, name) rettype (*name) -# define N_SYSCALL_PTR(rettype, name) rettype (*name) -# define N_FASTCALL_PTR(rettype, name) __attribute__((fastcall)) rettype (*name) -# define N_SAFECALL_PTR(rettype, name) rettype (*name) -# else -# define N_CDECL(rettype, name) rettype name -# define N_STDCALL(rettype, name) rettype name -# define N_SYSCALL(rettype, name) rettype name -# define N_FASTCALL(rettype, name) rettype name -# define N_SAFECALL(rettype, name) rettype name -/* function pointers with calling convention: */ -# define N_CDECL_PTR(rettype, name) rettype (*name) -# define N_STDCALL_PTR(rettype, name) rettype (*name) -# define N_SYSCALL_PTR(rettype, name) rettype (*name) -# define N_FASTCALL_PTR(rettype, name) rettype (*name) -# define N_SAFECALL_PTR(rettype, name) rettype (*name) -# endif -# ifdef __EMSCRIPTEN__ -# define N_LIB_EXPORT NIM_EXTERNC __attribute__((visibility("default"), used)) -# define N_LIB_EXPORT_VAR __attribute__((visibility("default"), used)) -# else -# define N_LIB_EXPORT NIM_EXTERNC __attribute__((visibility("default"))) -# define N_LIB_EXPORT_VAR __attribute__((visibility("default"))) -# endif -# define N_LIB_IMPORT extern -#endif - -#define N_NOCONV(rettype, name) rettype name -/* specify no calling convention */ -#define N_NOCONV_PTR(rettype, name) rettype (*name) - -#if defined(__GNUC__) || defined(__ICC__) -# define N_NOINLINE(rettype, name) rettype __attribute__((__noinline__)) name -#elif defined(_MSC_VER) -# define N_NOINLINE(rettype, name) __declspec(noinline) rettype name -#else -# define N_NOINLINE(rettype, name) rettype name -#endif - -#define N_NOINLINE_PTR(rettype, name) rettype (*name) - -#if defined(__BORLANDC__) || defined(_MSC_VER) || defined(WIN32) || defined(_WIN32) -/* these compilers have a fastcall so use it: */ -# ifdef __TINYC__ -# define N_NIMCALL(rettype, name) rettype __attribute((__fastcall)) name -# define N_NIMCALL_PTR(rettype, name) rettype (__attribute((__fastcall)) *name) -# define N_RAW_NIMCALL __attribute((__fastcall)) -# else -# define N_NIMCALL(rettype, name) rettype __fastcall name -# define N_NIMCALL_PTR(rettype, name) rettype (__fastcall *name) -# define N_RAW_NIMCALL __fastcall -# endif -#else -# define N_NIMCALL(rettype, name) rettype name /* no modifier */ -# define N_NIMCALL_PTR(rettype, name) rettype (*name) -# define N_RAW_NIMCALL -#endif - -#define N_CLOSURE(rettype, name) N_NIMCALL(rettype, name) -#define N_CLOSURE_PTR(rettype, name) N_NIMCALL_PTR(rettype, name) - -/* ----------------------------------------------------------------------- */ - -#define COMMA , - -#include -#include - -// define NIM_STATIC_ASSERT -// example use case: CT sizeof for importc types verification -// where we have {.completeStruct.} (or lack of {.incompleteStruct.}) -#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) -#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg) -#elif defined(__cplusplus) -#define NIM_STATIC_ASSERT(x, msg) static_assert((x), msg) -#else -#define _NIM_STATIC_ASSERT_FINAL(x, append_name) typedef int NIM_STATIC_ASSERT_AUX ## append_name[(x) ? 1 : -1]; -#define _NIM_STATIC_ASSERT_STAGE_3(x, line) _NIM_STATIC_ASSERT_FINAL(x, _AT_LINE_##line) -#define _NIM_STATIC_ASSERT_STAGE_2(x, line) _NIM_STATIC_ASSERT_STAGE_3(x, line) -#define NIM_STATIC_ASSERT(x, msg) _NIM_STATIC_ASSERT_STAGE_2(x,__LINE__) -// On failure, your C compiler will say something like: -// "error: 'NIM_STATIC_ASSERT_AUX_AT_LINE_XXX' declared as an array with a negative size" -// Adding the line number helps to avoid redefinitions which are not allowed in -// old GCC versions, however the order of evaluation for __LINE__ is a little tricky, -// hence all the helper macros. See https://stackoverflow.com/a/3385694 for more info. -#endif - -/* C99 compiler? */ -#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) -# define HAVE_STDINT_H -#endif - -/* Known compiler with stdint.h that doesn't fit the general pattern? */ -#if defined(__AVR__) || (defined(__cplusplus) && (__cplusplus < 201103)) -# define HAVE_STDINT_H -#endif - -#if (!defined(HAVE_STDINT_H) && defined(__cplusplus) && (__cplusplus >= 201103)) -# define HAVE_CSTDINT -#endif - - -/* wrap all Nim typedefs into namespace Nim */ -#ifdef USE_NIM_NAMESPACE -#ifdef HAVE_CSTDINT -#include -#else -#include -#endif -namespace USE_NIM_NAMESPACE { -#endif - -// preexisting check, seems paranoid, maybe remove -#if defined(NIM_TRUE) || defined(NIM_FALSE) || defined(NIM_BOOL) -#error "nim reserved preprocessor macros clash" -#endif - -/* bool types (C++ has it): */ -#ifdef __cplusplus -#define NIM_BOOL bool -#elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901) -// see #13798: to avoid conflicts for code emitting `#include ` -#define NIM_BOOL _Bool -#else -typedef unsigned char NIM_BOOL; // best effort -#endif - -NIM_STATIC_ASSERT(sizeof(NIM_BOOL) == 1, ""); // check whether really needed -NIM_STATIC_ASSERT(CHAR_BIT == 8, ""); - // fail fast for (rare) environments where this doesn't hold, as some implicit - // assumptions would need revisiting (e.g. `uint8` or https://github.com/nim-lang/Nim/pull/18505) - -#define NIM_TRUE true -#define NIM_FALSE false - -#ifdef __cplusplus -# if __cplusplus >= 201103L -# /* nullptr is more type safe (less implicit conversions than 0) */ -# define NIM_NIL nullptr -# else -# // both `((void*)0)` and `NULL` would cause codegen to emit -# // error: assigning to 'Foo *' from incompatible type 'void *' -# // but codegen could be fixed if need. See also potential caveat regarding -# // NULL. -# // However, `0` causes other issues, see #13798 -# define NIM_NIL 0 -# endif -#else -# include -# define NIM_NIL ((void*)0) /* C's NULL is fucked up in some C compilers, so - the generated code does not rely on it anymore */ -#endif - -#if defined(__BORLANDC__) || defined(_MSC_VER) -typedef signed char NI8; -typedef signed short int NI16; -typedef signed int NI32; -typedef __int64 NI64; -/* XXX: Float128? */ -typedef unsigned char NU8; -typedef unsigned short int NU16; -typedef unsigned int NU32; -typedef unsigned __int64 NU64; -#elif defined(HAVE_STDINT_H) -#ifndef USE_NIM_NAMESPACE -# include -#endif -typedef int8_t NI8; -typedef int16_t NI16; -typedef int32_t NI32; -typedef int64_t NI64; -typedef uint8_t NU8; -typedef uint16_t NU16; -typedef uint32_t NU32; -typedef uint64_t NU64; -#elif defined(HAVE_CSTDINT) -#ifndef USE_NIM_NAMESPACE -# include -#endif -typedef std::int8_t NI8; -typedef std::int16_t NI16; -typedef std::int32_t NI32; -typedef std::int64_t NI64; -typedef std::uint8_t NU8; -typedef std::uint16_t NU16; -typedef std::uint32_t NU32; -typedef std::uint64_t NU64; -#else -/* Unknown compiler/version, do our best */ -#ifdef __INT8_TYPE__ -typedef __INT8_TYPE__ NI8; -#else -typedef signed char NI8; -#endif -#ifdef __INT16_TYPE__ -typedef __INT16_TYPE__ NI16; -#else -typedef signed short int NI16; -#endif -#ifdef __INT32_TYPE__ -typedef __INT32_TYPE__ NI32; -#else -typedef signed int NI32; -#endif -#ifdef __INT64_TYPE__ -typedef __INT64_TYPE__ NI64; -#else -typedef long long int NI64; -#endif -/* XXX: Float128? */ -#ifdef __UINT8_TYPE__ -typedef __UINT8_TYPE__ NU8; -#else -typedef unsigned char NU8; -#endif -#ifdef __UINT16_TYPE__ -typedef __UINT16_TYPE__ NU16; -#else -typedef unsigned short int NU16; -#endif -#ifdef __UINT32_TYPE__ -typedef __UINT32_TYPE__ NU32; -#else -typedef unsigned int NU32; -#endif -#ifdef __UINT64_TYPE__ -typedef __UINT64_TYPE__ NU64; -#else -typedef unsigned long long int NU64; -#endif -#endif - -#ifdef NIM_INTBITS -# if NIM_INTBITS == 64 -typedef NI64 NI; -typedef NU64 NU; -# elif NIM_INTBITS == 32 -typedef NI32 NI; -typedef NU32 NU; -# elif NIM_INTBITS == 16 -typedef NI16 NI; -typedef NU16 NU; -# elif NIM_INTBITS == 8 -typedef NI8 NI; -typedef NU8 NU; -# else -# error "invalid bit width for int" -# endif -#endif - -// for now there isn't an easy way for C code to reach the program result -// when hot code reloading is ON - users will have to: -// load the nimhcr.dll, get the hcrGetGlobal proc from there and use it -#ifndef NIM_HOT_CODE_RELOADING -extern NI nim_program_result; -#endif - -typedef float NF32; -typedef double NF64; -typedef double NF; - -typedef char NIM_CHAR; -typedef char* NCSTRING; - -#ifdef NIM_BIG_ENDIAN -# define NIM_IMAN 1 -#else -# define NIM_IMAN 0 -#endif - -#define NIM_STRLIT_FLAG ((NU)(1) << ((NIM_INTBITS) - 2)) /* This has to be the same as system.strlitFlag! */ - -#define STRING_LITERAL(name, str, length) \ - static const struct { \ - TGenericSeq Sup; \ - NIM_CHAR data[(length) + 1]; \ - } name = {{length, (NI) ((NU)length | NIM_STRLIT_FLAG)}, str} - -/* declared size of a sequence/variable length array: */ -#if defined(__cplusplus) && defined(__clang__) -# define SEQ_DECL_SIZE 1 -#elif defined(__GNUC__) || defined(_MSC_VER) || defined(__TINYC__) || \ - (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) // C99 -# define SEQ_DECL_SIZE /* empty is correct! */ -#else -# define SEQ_DECL_SIZE 1000000 -#endif - -#define ALLOC_0(size) calloc(1, size) -#define DL_ALLOC_0(size) dlcalloc(1, size) - -#define paramCount() cmdCount - -#ifndef NAN /* use __builtin_nanf which is faster, if available */ -# if defined(__GNUC__) -# define NAN (__builtin_nanf("")) -# elif defined(__clang__) /* XXX: writing __has_builtin this line cause MSVC complains. */ -# if __has_builtin (__builtin_nanf) -# define NAN (__builtin_nanf("")) -# endif -# endif -#endif - -#ifndef NAN /* modified from math.h included in the Windows SDK version 10.0.26100.0 */ -# ifndef _HUGE_ENUF -# define _HUGE_ENUF 1e+300 /* _HUGE_ENUF*_HUGE_ENUF must overflow */ -# endif -# define NAN_INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF)) -# define NAN (-(float)(NAN_INFINITY * 0.0F)) -#endif - -#ifndef INF -# ifdef INFINITY -# define INF INFINITY -# elif defined(HUGE_VAL) -# define INF HUGE_VAL -# elif defined(_MSC_VER) -# include -# define INF (DBL_MAX+DBL_MAX) -# else -# define INF (1.0 / 0.0) -# endif -#endif - -typedef struct TFrame_ TFrame; -struct TFrame_ { - TFrame* prev; - NCSTRING procname; - NI line; - NCSTRING filename; - NI16 len; - NI16 calldepth; - NI frameMsgLen; -}; - -#define NIM_POSIX_INIT __attribute__((constructor)) - -#ifdef __GNUC__ -# define NIM_LIKELY(x) __builtin_expect(x, 1) -# define NIM_UNLIKELY(x) __builtin_expect(x, 0) -/* We need the following for the posix wrapper. In particular it will give us - POSIX_SPAWN_USEVFORK: */ -# ifndef _GNU_SOURCE -# define _GNU_SOURCE -# endif -#else -# define NIM_LIKELY(x) (x) -# define NIM_UNLIKELY(x) (x) -#endif - -#if 0 // defined(__GNUC__) || defined(__clang__) -// not needed anymore because the stack marking cares about -// interior pointers now -static inline void GCGuard (void *ptr) { asm volatile ("" :: "X" (ptr)); } -# define GC_GUARD __attribute__ ((cleanup(GCGuard))) -#else -# define GC_GUARD -#endif - -// Test to see if Nim and the C compiler agree on the size of a pointer. -NIM_STATIC_ASSERT(sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8, "Pointer size mismatch between Nim and C/C++ backend. You probably need to setup the backend compiler for target CPU."); - -#ifdef USE_NIM_NAMESPACE -} -#endif - -#if defined(_MSC_VER) -# define NIM_ALIGN(x) __declspec(align(x)) -# define NIM_ALIGNOF(x) __alignof(x) -#else -# define NIM_ALIGN(x) __attribute__((aligned(x))) -# define NIM_ALIGNOF(x) __alignof__(x) -#endif - -/* ---------------- platform specific includes ----------------------- */ - -/* VxWorks related includes */ -#if defined(__VXWORKS__) -# include -# include -# include -#elif defined(__FreeBSD__) -# include -#endif - -/* these exist to make the codegen logic simpler */ -#define nimModInt(a, b, res) (((*res) = (a) % (b)), 0) -#define nimModInt64(a, b, res) (((*res) = (a) % (b)), 0) - -#if (!defined(_MSC_VER) || defined(__clang__)) && !defined(NIM_EmulateOverflowChecks) - /* these exist because we cannot have .compilerProcs that are importc'ed - by a different name */ - - #define nimAddInt64(a, b, res) __builtin_saddll_overflow(a, b, (long long int*)res) - #define nimSubInt64(a, b, res) __builtin_ssubll_overflow(a, b, (long long int*)res) - #define nimMulInt64(a, b, res) __builtin_smulll_overflow(a, b, (long long int*)res) - - #if NIM_INTBITS == 32 - #if (defined(__arm__) || defined(__riscv)) && defined(__GNUC__) - /* arm-none-eabi-gcc and riscv32-unknown-elf-gcc targets define int32_t as long int */ - #define nimAddInt(a, b, res) __builtin_saddl_overflow(a, b, res) - #define nimSubInt(a, b, res) __builtin_ssubl_overflow(a, b, res) - #define nimMulInt(a, b, res) __builtin_smull_overflow(a, b, res) - #else - #define nimAddInt(a, b, res) __builtin_sadd_overflow(a, b, res) - #define nimSubInt(a, b, res) __builtin_ssub_overflow(a, b, res) - #define nimMulInt(a, b, res) __builtin_smul_overflow(a, b, res) - #endif - #else - /* map it to the 'long long' variant */ - #define nimAddInt(a, b, res) __builtin_saddll_overflow(a, b, (long long int*)res) - #define nimSubInt(a, b, res) __builtin_ssubll_overflow(a, b, (long long int*)res) - #define nimMulInt(a, b, res) __builtin_smulll_overflow(a, b, (long long int*)res) - #endif -#endif - -#define NIM_NOALIAS __restrict -/* __restrict is said to work for all the C(++) compilers out there that we support */ - -#endif /* NIMBASE_H */ diff --git a/mobile-app/modules/nim-bridge/src/NativeNimBridge.ts b/mobile-app/modules/nim-bridge/src/NativeNimBridge.ts deleted file mode 100644 index de873c5..0000000 --- a/mobile-app/modules/nim-bridge/src/NativeNimBridge.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { TurboModule } from 'react-native'; -import { TurboModuleRegistry } from 'react-native'; - -export interface Spec extends TurboModule { - // Core API - readonly helloWorld: () => string; - readonly addNumbers: (a: number, b: number) => number; - readonly getSystemInfo: () => string; - - // Math operations - readonly fibonacci: (n: number) => number; - readonly isPrime: (n: number) => boolean; - readonly factorize: (n: number) => string; - - // Data operations - readonly createUser: (id: number, name: string, email: string) => string; - readonly validateEmail: (email: string) => boolean; - - // Version info - readonly getVersion: () => string; -} - -export default TurboModuleRegistry.getEnforcing('NimBridge'); \ No newline at end of file diff --git a/mobile-app/modules/nim-bridge/src/NimBridge.types.ts b/mobile-app/modules/nim-bridge/src/NimBridge.types.ts deleted file mode 100644 index 7b1f557..0000000 --- a/mobile-app/modules/nim-bridge/src/NimBridge.types.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Auto-generated TypeScript interface for Nim bridge -// DO NOT EDIT MANUALLY - Generated by tools/generate_bindings.py -// This file will be overwritten when bindings are regenerated - -export interface NimBridge { - helloWorld(): string; - addNumbers(a: number, b: number): number; - getSystemInfo(): string; - mobileFibonacci(n: number): number; - mobileIsPrime(n: number): number; - mobileFactorize(n: number): string; - mobileCreateUser(id: number, name: string, email: string): string; - mobileValidateEmail(email: string): number; - getNimCoreVersion(): string; -} diff --git a/mobile-app/src/nim_core.d.ts b/mobile-app/src/nim_core.d.ts deleted file mode 100644 index 4b43c9f..0000000 --- a/mobile-app/src/nim_core.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -// TypeScript definitions for Nim Core bindings -// Auto-generated - do not edit manually - -export interface NimCore { - // Core API - helloWorld(): string; - addNumbers(a: number, b: number): number; - getSystemInfo(): string; - - // Math operations - fibonacci(n: number): number; - isPrime(n: number): boolean; - factorize(n: number): number[]; - - // Data operations - createUser(id: number, name: string, email: string): string; - validateEmail(email: string): boolean; - - // Version info - getVersion(): string; -} - -declare global { - var NimCore: NimCore; -} - -export default global.NimCore;