Skip to content

Commit 292040d

Browse files
committed
Update for Intercept API v3 and some submodules
1 parent 7ff7601 commit 292040d

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

intercept

Submodule intercept updated 102 files

mariadb-connector-c

Submodule mariadb-connector-c updated 388 files

src/connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class GameDataDBConnection : public game_data {
1818
public:
1919
GameDataDBConnection() {}
2020
void lastRefDeleted() const override { delete this; }
21-
const sqf_script_type& type() const override { return Connection::GameDataDBConnection_type; }
21+
const sqf_script_type& type() const override { return *Connection::GameDataDBConnection_type; }
2222
~GameDataDBConnection() override {};
2323

2424
bool get_as_bool() const override { return true; }

src/connection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Connection {
2525

2626

2727
static void initCommands();
28-
static inline sqf_script_type GameDataDBConnection_type;
28+
static inline sqf_script_type* GameDataDBConnection_type;
2929
static inline game_data_type GameDataDBConnection_typeE;
3030

3131

src/query.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Query {
2525

2626

2727
static void initCommands();
28-
static inline sqf_script_type GameDataDBQuery_type;
28+
static inline sqf_script_type* GameDataDBQuery_type;
2929
static inline game_data_type GameDataDBQuery_typeE;
3030

3131
static inline types::registered_sqf_function handle_cmd_prepareQuery;
@@ -45,7 +45,7 @@ class GameDataDBQuery : public game_data {
4545
public:
4646
GameDataDBQuery() {}
4747
void lastRefDeleted() const override { delete this; }
48-
const sqf_script_type& type() const override { return Query::GameDataDBQuery_type; }
48+
const sqf_script_type& type() const override { return *Query::GameDataDBQuery_type; }
4949
~GameDataDBQuery() override {};
5050

5151
bool get_as_bool() const override { return true; }

src/res.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ class Result {
1717
static game_value cmd_waitForResult(game_state&, game_value_parameter right);
1818

1919
static void initCommands();
20-
static inline sqf_script_type GameDataDBResult_type;
20+
static inline sqf_script_type* GameDataDBResult_type;
2121
static inline game_data_type GameDataDBResult_typeE;
22-
static inline sqf_script_type GameDataDBAsyncResult_type;
22+
static inline sqf_script_type* GameDataDBAsyncResult_type;
2323
static inline game_data_type GameDataDBAsyncResult_typeE;
24-
static inline sqf_script_type GameDataDBNull_type;
24+
static inline sqf_script_type* GameDataDBNull_type;
2525
static inline game_data_type GameDataDBNull_typeE;
2626

2727
static inline types::registered_sqf_function handle_cmd_affectedRows;
@@ -38,7 +38,7 @@ class GameDataDBResult : public game_data {
3838
public:
3939
GameDataDBResult() {}
4040
void lastRefDeleted() const override { delete this; }
41-
const sqf_script_type& type() const override { return Result::GameDataDBResult_type; }
41+
const sqf_script_type& type() const override { return *Result::GameDataDBResult_type; }
4242
~GameDataDBResult() override {};
4343

4444
bool get_as_bool() const override { return true; }
@@ -78,7 +78,7 @@ class GameDataDBAsyncResult : public game_data {
7878
public:
7979
GameDataDBAsyncResult() {}
8080
void lastRefDeleted() const override { delete this; }
81-
const sqf_script_type& type() const override { return Result::GameDataDBAsyncResult_type; }
81+
const sqf_script_type& type() const override { return *Result::GameDataDBAsyncResult_type; }
8282
~GameDataDBAsyncResult() override {};
8383

8484
bool get_as_bool() const override { return true; }
@@ -124,7 +124,7 @@ class GameDataDBNull : public game_data {
124124
public:
125125
GameDataDBNull() {}
126126
void lastRefDeleted() const override { delete this; }
127-
const sqf_script_type& type() const override { return Result::GameDataDBNull_type; }
127+
const sqf_script_type& type() const override { return *Result::GameDataDBNull_type; }
128128
~GameDataDBNull() override {};
129129

130130
bool get_as_bool() const override { return true; }

yaml-cpp

Submodule yaml-cpp updated 496 files

0 commit comments

Comments
 (0)