Skip to content

Commit 5bbe482

Browse files
committed
refactor: update nitro specs
1 parent c93fd82 commit 5bbe482

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package/nitrogen/generated/ios/RNNitroSQLite-Swift-Cxx-Umbrella.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
// This header is generated by Xcode/Swift on every app build.
3131
// If it cannot be found, make sure the Swift module's name (= podspec name) is actually "RNNitroSQLite".
3232
#include "RNNitroSQLite-Swift.h"
33+
// Same as above, but used when building with frameworks (`use_frameworks`)
34+
#elif __has_include(<RNNitroSQLite/RNNitroSQLite-Swift.h>)
35+
#include <RNNitroSQLite/RNNitroSQLite-Swift.h>
3336
#else
3437
#error RNNitroSQLite's autogenerated Swift header cannot be found! Make sure the Swift module's name (= podspec name) is actually "RNNitroSQLite", and try building the app first.
3538
#endif

package/nitrogen/generated/shared/c++/ColumnType.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace margelo::nitro {
5050
int enumValue = static_cast<int>(arg);
5151
return JSIConverter<int>::toJSI(runtime, enumValue);
5252
}
53-
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
53+
static inline bool canConvert(jsi::Runtime&, const jsi::Value& value) {
5454
if (!value.isNumber()) {
5555
return false;
5656
}

0 commit comments

Comments
 (0)