Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed May 3, 2024
1 parent 4ba9794 commit 925fe2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cpp/DumbHostObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace jsi = facebook::jsi;

class JSI_EXPORT DumbHostObject : public jsi::HostObject {
public:
DumbHostObject(){};
DumbHostObject() {};

DumbHostObject(std::shared_ptr<std::vector<SmartHostObject>> metadata);

Expand Down
2 changes: 1 addition & 1 deletion cpp/SmartHostObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace jsi = facebook::jsi;

class JSI_EXPORT SmartHostObject : public jsi::HostObject {
public:
SmartHostObject(){};
SmartHostObject() {};

std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime &rt);

Expand Down
8 changes: 4 additions & 4 deletions cpp/sqlite3.h
Original file line number Diff line number Diff line change
Expand Up @@ -6031,7 +6031,7 @@ SQLITE_API int sqlite3_set_clientdata(sqlite3 *, const char *, void *,
*/
typedef void (*sqlite3_destructor_type)(void *);
#define SQLITE_STATIC ((sqlite3_destructor_type)0)
#define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1)
#define SQLITE_TRANSIENT ((sqlite3_destructor_type) - 1)

/*
** CAPI3REF: Setting The Result Of An SQL Function
Expand Down Expand Up @@ -7415,17 +7415,17 @@ struct sqlite3_index_info {
unsigned char op; /* Constraint operator */
unsigned char usable; /* True if this constraint is usable */
int iTermOffset; /* Used internally - xBestIndex should ignore */
} * aConstraint; /* Table of WHERE clause constraints */
} *aConstraint; /* Table of WHERE clause constraints */
int nOrderBy; /* Number of terms in the ORDER BY clause */
struct sqlite3_index_orderby {
int iColumn; /* Column number */
unsigned char desc; /* True for DESC. False for ASC. */
} * aOrderBy; /* The ORDER BY clause */
} *aOrderBy; /* The ORDER BY clause */
/* Outputs */
struct sqlite3_index_constraint_usage {
int argvIndex; /* if >0, constraint is part of argv to xFilter */
unsigned char omit; /* Do not code a test for this constraint */
} * aConstraintUsage;
} *aConstraintUsage;
int idxNum; /* Number used to identify the index */
char *idxStr; /* String, possibly obtained from sqlite3_malloc */
int needToFreeIdxStr; /* Free idxStr using sqlite3_free() if true */
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@op-engineering/op-sqlite",
"version": "5.0.5",
"version": "5.0.6",
"description": "Next generation SQLite for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 925fe2c

Please sign in to comment.