@@ -340,7 +340,7 @@ typedef enum {
340340/// - define entity types using obx_model_entity() and obx_model_property()
341341/// - Pass the last ever used IDs with obx_model_last_entity_id(), obx_model_last_index_id(),
342342/// obx_model_last_relation_id()
343- struct OBX_model { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
343+ struct OBX_model { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
344344typedef struct OBX_model OBX_model ;
345345
346346/// Create an (empty) data meta model which is to be consumed by obx_opt_model().
@@ -428,13 +428,13 @@ obx_err obx_model_entity_last_property_id(OBX_model* model, obx_schema_id proper
428428/// Once opened using obx_store_open(), it's an entry point to data access APIs such as box, query, cursor, transaction.
429429/// After your work is done, you must close obx_store_close() to safely release all the handles and avoid data loss.
430430/// It's possible to have multiple stores open at once, there's no globally shared state.
431- struct OBX_store { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
431+ struct OBX_store { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
432432typedef struct OBX_store OBX_store ;
433433
434434/// Store options customize the behavior of ObjectBox before opening a store. Options can't be changed once the store is
435435/// open but of course you can close the store and open it again with the changed options.
436436/// Some of the notable options are obx_opt_directory() and obx_opt_max_db_size_in_kb().
437- struct OBX_store_options { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
437+ struct OBX_store_options { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
438438typedef struct OBX_store_options OBX_store_options ;
439439
440440typedef enum {
@@ -715,7 +715,7 @@ obx_err obx_store_close(OBX_store* store);
715715/// is done under the hood and transparent to you.
716716/// However, there are situations where an explicit read transaction is necessary, e.g. obx_box_get(). Also, it’s
717717/// usually worth learning transaction basics to make your app more consistent and efficient, especially for writes.
718- struct OBX_txn { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
718+ struct OBX_txn { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
719719typedef struct OBX_txn OBX_txn ;
720720
721721/// Create a write transaction (read and write).
@@ -759,7 +759,7 @@ obx_err obx_txn_mark_success(OBX_txn* txn, bool wasSuccessful);
759759//------------------------------------------------------------------
760760
761761/// Cursor provides fine-grained (lower level API) access to the stored objects. Check also the more convenient Box API.
762- struct OBX_cursor { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
762+ struct OBX_cursor { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
763763typedef struct OBX_cursor OBX_cursor ;
764764
765765typedef enum {
@@ -905,7 +905,7 @@ obx_err obx_cursor_ts_min_max_range(OBX_cursor* cursor, int64_t range_begin, int
905905/// And because transactions offered by this C API are always reentrant, you can set your own transaction boundary
906906/// using obx_txn_read() or obx_txn_write(). This is very much encouraged for calling multiple write operations that
907907/// logically belong together (or for better performance).
908- struct OBX_box { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
908+ struct OBX_box { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
909909typedef struct OBX_box OBX_box ;
910910
911911/// Get access to the box for the given entity. A box may be used across threads.
@@ -1100,7 +1100,7 @@ obx_err obx_box_ts_min_max_range(OBX_box* box, int64_t range_begin, int64_t rang
11001100//----------------------------------------------
11011101
11021102/// Created by obx_box_async, used for async operations like obx_async_put.
1103- struct OBX_async { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
1103+ struct OBX_async { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
11041104typedef struct OBX_async OBX_async ;
11051105
11061106/// Note: DO NOT close this OBX_async; its lifetime is tied to the OBX_box instance.
@@ -1145,7 +1145,7 @@ obx_err obx_async_close(OBX_async* async);
11451145
11461146/// You use QueryBuilder to specify criteria and create a Query which actually executes the query and returns matching
11471147/// objects.
1148- struct OBX_query_builder { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
1148+ struct OBX_query_builder { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
11491149typedef struct OBX_query_builder OBX_query_builder ;
11501150
11511151/// Not really an enum, but binary flags to use across languages
@@ -1350,7 +1350,7 @@ OBX_query_builder* obx_qb_link_time(OBX_query_builder* builder, obx_schema_id li
13501350/// any number of times. It also supports parametrization before executing, further improving the reusability.
13511351/// Query is NOT thread safe and must only be used from a single thread at the same time. If you prefer to avoid locks,
13521352/// you may want to create clonse using obx_query_clone().
1353- struct OBX_query { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
1353+ struct OBX_query { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
13541354typedef struct OBX_query OBX_query ;
13551355
13561356/// @returns NULL if the operation failed, see functions like obx_last_error_code() to get error details
@@ -1467,7 +1467,7 @@ size_t obx_query_param_alias_get_type_size(OBX_query* query, const char* alias);
14671467//----------------------------------------------
14681468
14691469/// PropertyQuery - getting a single property instead of whole objects. Also provides aggregation over properties.
1470- struct OBX_query_prop { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
1470+ struct OBX_query_prop { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
14711471typedef struct OBX_query_prop OBX_query_prop ;
14721472
14731473/// Create a "property query" with results referring to single property (not complete objects).
@@ -1598,7 +1598,7 @@ OBX_float_array* obx_query_prop_find_floats(OBX_query_prop* query, const float*
15981598
15991599/// Observers are called back when data has changed in the database.
16001600/// See obx_observe(), or obx_observe_single_type() to listen to a changes that affect a single entity type
1601- struct OBX_observer { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
1601+ struct OBX_observer { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
16021602typedef struct OBX_observer OBX_observer ;
16031603
16041604/// Callback for obx_observe()
@@ -1705,7 +1705,7 @@ void obx_posix_sem_prefix_set(const char* prefix);
17051705/// @deprecated use obx_has_feature(OBXFeature_Sync)
17061706bool obx_sync_available ();
17071707
1708- struct OBX_sync { int _dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
1708+ struct OBX_sync { int dummy ; /* TEMPORARY - prevent Dart SDK 2.12 warning before fully migrating */ };
17091709typedef struct OBX_sync OBX_sync ;
17101710
17111711typedef enum {
0 commit comments