@@ -1310,7 +1310,7 @@ class ObjectBoxC {
13101310 ffi.Pointer <OBX_box > box,
13111311 int id,
13121312 ffi.Pointer <ffi.Pointer <ffi.Void >> data,
1313- ffi.Pointer <ffi.Int32 > size,
1313+ ffi.Pointer <ffi.IntPtr > size,
13141314 ) {
13151315 _obx_box_get ?? =
13161316 _dylib.lookupFunction <_c_obx_box_get, _dart_obx_box_get>('obx_box_get' );
@@ -4590,79 +4590,79 @@ abstract class OBXPutPaddingMode {
45904590class OBX_bytes extends ffi.Struct {
45914591 ffi.Pointer <ffi.Void > data;
45924592
4593- @ffi .Int32 ()
4593+ @ffi .IntPtr ()
45944594 int size;
45954595}
45964596
45974597/// /// Bytes array struct is an input/output wrapper for multiple FlatBuffers object data representation.
45984598class OBX_bytes_array extends ffi.Struct {
45994599 ffi.Pointer <OBX_bytes > bytes;
46004600
4601- @ffi .Int32 ()
4601+ @ffi .IntPtr ()
46024602 int count;
46034603}
46044604
46054605/// /// ID array struct is an input/output wrapper for an array of object IDs.
46064606class OBX_id_array extends ffi.Struct {
46074607 ffi.Pointer <ffi.Uint64 > ids;
46084608
4609- @ffi .Int32 ()
4609+ @ffi .IntPtr ()
46104610 int count;
46114611}
46124612
46134613/// /// String array struct is an input/output wrapper for an array of character strings.
46144614class OBX_string_array extends ffi.Struct {
46154615 ffi.Pointer <ffi.Pointer <ffi.Int8 >> items;
46164616
4617- @ffi .Int32 ()
4617+ @ffi .IntPtr ()
46184618 int count;
46194619}
46204620
46214621/// /// Int64 array struct is an input/output wrapper for an array of int64 numbers.
46224622class OBX_int64_array extends ffi.Struct {
46234623 ffi.Pointer <ffi.Int64 > items;
46244624
4625- @ffi .Int32 ()
4625+ @ffi .IntPtr ()
46264626 int count;
46274627}
46284628
46294629/// /// Int32 array struct is an input/output wrapper for an array of int32 numbers.
46304630class OBX_int32_array extends ffi.Struct {
46314631 ffi.Pointer <ffi.Int32 > items;
46324632
4633- @ffi .Int32 ()
4633+ @ffi .IntPtr ()
46344634 int count;
46354635}
46364636
46374637/// /// Int16 array struct is an input/output wrapper for an array of int16 numbers.
46384638class OBX_int16_array extends ffi.Struct {
46394639 ffi.Pointer <ffi.Int16 > items;
46404640
4641- @ffi .Int32 ()
4641+ @ffi .IntPtr ()
46424642 int count;
46434643}
46444644
46454645/// /// Int8 array struct is an input/output wrapper for an array of int8 numbers.
46464646class OBX_int8_array extends ffi.Struct {
46474647 ffi.Pointer <ffi.Int8 > items;
46484648
4649- @ffi .Int32 ()
4649+ @ffi .IntPtr ()
46504650 int count;
46514651}
46524652
46534653/// /// Double array struct is an input/output wrapper for an array of double precision floating point numbers.
46544654class OBX_double_array extends ffi.Struct {
46554655 ffi.Pointer <ffi.Double > items;
46564656
4657- @ffi .Int32 ()
4657+ @ffi .IntPtr ()
46584658 int count;
46594659}
46604660
46614661/// /// Float array struct is an input/output wrapper for an array of single precision floating point numbers.
46624662class OBX_float_array extends ffi.Struct {
46634663 ffi.Pointer <ffi.Float > items;
46644664
4665- @ffi .Int32 ()
4665+ @ffi .IntPtr ()
46664666 int count;
46674667}
46684668
@@ -4792,7 +4792,7 @@ class OBX_sync_change extends ffi.Struct {
47924792class OBX_sync_change_array extends ffi.Struct {
47934793 ffi.Pointer <OBX_sync_change > list;
47944794
4795- @ffi .Int32 ()
4795+ @ffi .IntPtr ()
47964796 int count;
47974797}
47984798
@@ -5140,7 +5140,7 @@ typedef _dart_obx_opt_directory = int Function(
51405140
51415141typedef _c_obx_opt_max_db_size_in_kb = ffi.Void Function (
51425142 ffi.Pointer <OBX_store_options > opt,
5143- ffi.Int32 size_in_kb,
5143+ ffi.IntPtr size_in_kb,
51445144);
51455145
51465146typedef _dart_obx_opt_max_db_size_in_kb = void Function (
@@ -5181,7 +5181,7 @@ typedef _dart_obx_opt_model = int Function(
51815181typedef _c_obx_opt_model_bytes = ffi.Int32 Function (
51825182 ffi.Pointer <OBX_store_options > opt,
51835183 ffi.Pointer <ffi.Void > bytes,
5184- ffi.Int32 size,
5184+ ffi.IntPtr size,
51855185);
51865186
51875187typedef _dart_obx_opt_model_bytes = int Function (
@@ -5193,7 +5193,7 @@ typedef _dart_obx_opt_model_bytes = int Function(
51935193typedef _c_obx_opt_model_bytes_direct = ffi.Int32 Function (
51945194 ffi.Pointer <OBX_store_options > opt,
51955195 ffi.Pointer <ffi.Void > bytes,
5196- ffi.Int32 size,
5196+ ffi.IntPtr size,
51975197);
51985198
51995199typedef _dart_obx_opt_model_bytes_direct = int Function (
@@ -5596,14 +5596,14 @@ typedef _c_obx_box_get = ffi.Int32 Function(
55965596 ffi.Pointer <OBX_box > box,
55975597 ffi.Uint64 id,
55985598 ffi.Pointer <ffi.Pointer <ffi.Void >> data,
5599- ffi.Pointer <ffi.Int32 > size,
5599+ ffi.Pointer <ffi.IntPtr > size,
56005600);
56015601
56025602typedef _dart_obx_box_get = int Function (
56035603 ffi.Pointer <OBX_box > box,
56045604 int id,
56055605 ffi.Pointer <ffi.Pointer <ffi.Void >> data,
5606- ffi.Pointer <ffi.Int32 > size,
5606+ ffi.Pointer <ffi.IntPtr > size,
56075607);
56085608
56095609typedef _c_obx_box_get_many = ffi.Pointer <OBX_bytes_array > Function (
@@ -5682,7 +5682,7 @@ typedef _c_obx_box_put = ffi.Int32 Function(
56825682 ffi.Pointer <OBX_box > box,
56835683 ffi.Uint64 id,
56845684 ffi.Pointer <ffi.Void > data,
5685- ffi.Int32 size,
5685+ ffi.IntPtr size,
56865686);
56875687
56885688typedef _dart_obx_box_put = int Function (
@@ -5696,7 +5696,7 @@ typedef _c_obx_box_insert = ffi.Int32 Function(
56965696 ffi.Pointer <OBX_box > box,
56975697 ffi.Uint64 id,
56985698 ffi.Pointer <ffi.Void > data,
5699- ffi.Int32 size,
5699+ ffi.IntPtr size,
57005700);
57015701
57025702typedef _dart_obx_box_insert = int Function (
@@ -5710,7 +5710,7 @@ typedef _c_obx_box_update = ffi.Int32 Function(
57105710 ffi.Pointer <OBX_box > box,
57115711 ffi.Uint64 id,
57125712 ffi.Pointer <ffi.Void > data,
5713- ffi.Int32 size,
5713+ ffi.IntPtr size,
57145714);
57155715
57165716typedef _dart_obx_box_update = int Function (
@@ -5724,7 +5724,7 @@ typedef _c_obx_box_put5 = ffi.Int32 Function(
57245724 ffi.Pointer <OBX_box > box,
57255725 ffi.Uint64 id,
57265726 ffi.Pointer <ffi.Void > data,
5727- ffi.Int32 size,
5727+ ffi.IntPtr size,
57285728 ffi.Int32 mode,
57295729);
57305730
@@ -5739,7 +5739,7 @@ typedef _dart_obx_box_put5 = int Function(
57395739typedef _c_obx_box_put_object = ffi.Uint64 Function (
57405740 ffi.Pointer <OBX_box > box,
57415741 ffi.Pointer <ffi.Void > data,
5742- ffi.Int32 size,
5742+ ffi.IntPtr size,
57435743);
57445744
57455745typedef _dart_obx_box_put_object = int Function (
@@ -5751,7 +5751,7 @@ typedef _dart_obx_box_put_object = int Function(
57515751typedef _c_obx_box_put_object4 = ffi.Uint64 Function (
57525752 ffi.Pointer <OBX_box > box,
57535753 ffi.Pointer <ffi.Void > data,
5754- ffi.Int32 size,
5754+ ffi.IntPtr size,
57555755 ffi.Int32 mode,
57565756);
57575757
@@ -5958,7 +5958,7 @@ typedef _c_obx_async_put = ffi.Int32 Function(
59585958 ffi.Pointer <OBX_async > async_1,
59595959 ffi.Uint64 id,
59605960 ffi.Pointer <ffi.Void > data,
5961- ffi.Int32 size,
5961+ ffi.IntPtr size,
59625962);
59635963
59645964typedef _dart_obx_async_put = int Function (
@@ -5972,7 +5972,7 @@ typedef _c_obx_async_put5 = ffi.Int32 Function(
59725972 ffi.Pointer <OBX_async > async_1,
59735973 ffi.Uint64 id,
59745974 ffi.Pointer <ffi.Void > data,
5975- ffi.Int32 size,
5975+ ffi.IntPtr size,
59765976 ffi.Int32 mode,
59775977);
59785978
@@ -5988,7 +5988,7 @@ typedef _c_obx_async_insert = ffi.Int32 Function(
59885988 ffi.Pointer <OBX_async > async_1,
59895989 ffi.Uint64 id,
59905990 ffi.Pointer <ffi.Void > data,
5991- ffi.Int32 size,
5991+ ffi.IntPtr size,
59925992);
59935993
59945994typedef _dart_obx_async_insert = int Function (
@@ -6002,7 +6002,7 @@ typedef _c_obx_async_update = ffi.Int32 Function(
60026002 ffi.Pointer <OBX_async > async_1,
60036003 ffi.Uint64 id,
60046004 ffi.Pointer <ffi.Void > data,
6005- ffi.Int32 size,
6005+ ffi.IntPtr size,
60066006);
60076007
60086008typedef _dart_obx_async_update = int Function (
@@ -6015,7 +6015,7 @@ typedef _dart_obx_async_update = int Function(
60156015typedef _c_obx_async_put_object = ffi.Uint64 Function (
60166016 ffi.Pointer <OBX_async > async_1,
60176017 ffi.Pointer <ffi.Void > data,
6018- ffi.Int32 size,
6018+ ffi.IntPtr size,
60196019);
60206020
60216021typedef _dart_obx_async_put_object = int Function (
@@ -6027,7 +6027,7 @@ typedef _dart_obx_async_put_object = int Function(
60276027typedef _c_obx_async_insert_object = ffi.Uint64 Function (
60286028 ffi.Pointer <OBX_async > async_1,
60296029 ffi.Pointer <ffi.Void > data,
6030- ffi.Int32 size,
6030+ ffi.IntPtr size,
60316031);
60326032
60336033typedef _dart_obx_async_insert_object = int Function (
@@ -6434,7 +6434,7 @@ typedef _c_obx_qb_equals_bytes = ffi.Int32 Function(
64346434 ffi.Pointer <OBX_query_builder > builder,
64356435 ffi.Uint32 property_id,
64366436 ffi.Pointer <ffi.Void > value,
6437- ffi.Int32 size,
6437+ ffi.IntPtr size,
64386438);
64396439
64406440typedef _dart_obx_qb_equals_bytes = int Function (
@@ -6448,7 +6448,7 @@ typedef _c_obx_qb_greater_than_bytes = ffi.Int32 Function(
64486448 ffi.Pointer <OBX_query_builder > builder,
64496449 ffi.Uint32 property_id,
64506450 ffi.Pointer <ffi.Void > value,
6451- ffi.Int32 size,
6451+ ffi.IntPtr size,
64526452);
64536453
64546454typedef _dart_obx_qb_greater_than_bytes = int Function (
@@ -6462,7 +6462,7 @@ typedef _c_obx_qb_greater_or_equal_bytes = ffi.Int32 Function(
64626462 ffi.Pointer <OBX_query_builder > builder,
64636463 ffi.Uint32 property_id,
64646464 ffi.Pointer <ffi.Void > value,
6465- ffi.Int32 size,
6465+ ffi.IntPtr size,
64666466);
64676467
64686468typedef _dart_obx_qb_greater_or_equal_bytes = int Function (
@@ -6476,7 +6476,7 @@ typedef _c_obx_qb_less_than_bytes = ffi.Int32 Function(
64766476 ffi.Pointer <OBX_query_builder > builder,
64776477 ffi.Uint32 property_id,
64786478 ffi.Pointer <ffi.Void > value,
6479- ffi.Int32 size,
6479+ ffi.IntPtr size,
64806480);
64816481
64826482typedef _dart_obx_qb_less_than_bytes = int Function (
@@ -6490,7 +6490,7 @@ typedef _c_obx_qb_less_or_equal_bytes = ffi.Int32 Function(
64906490 ffi.Pointer <OBX_query_builder > builder,
64916491 ffi.Uint32 property_id,
64926492 ffi.Pointer <ffi.Void > value,
6493- ffi.Int32 size,
6493+ ffi.IntPtr size,
64946494);
64956495
64966496typedef _dart_obx_qb_less_or_equal_bytes = int Function (
@@ -6851,7 +6851,7 @@ typedef _c_obx_query_param_bytes = ffi.Int32 Function(
68516851 ffi.Uint32 entity_id,
68526852 ffi.Uint32 property_id,
68536853 ffi.Pointer <ffi.Void > value,
6854- ffi.Int32 size,
6854+ ffi.IntPtr size,
68556855);
68566856
68576857typedef _dart_obx_query_param_bytes = int Function (
@@ -6972,7 +6972,7 @@ typedef _c_obx_query_param_alias_bytes = ffi.Int32 Function(
69726972 ffi.Pointer <OBX_query > query,
69736973 ffi.Pointer <ffi.Int8 > alias,
69746974 ffi.Pointer <ffi.Void > value,
6975- ffi.Int32 size,
6975+ ffi.IntPtr size,
69766976);
69776977
69786978typedef _dart_obx_query_param_alias_bytes = int Function (
@@ -7268,7 +7268,7 @@ typedef _c_obx_bytes_array_set = ffi.Int32 Function(
72687268 ffi.Pointer <OBX_bytes_array > array,
72697269 ffi.Int32 index,
72707270 ffi.Pointer <ffi.Void > data,
7271- ffi.Int32 size,
7271+ ffi.IntPtr size,
72727272);
72737273
72747274typedef _dart_obx_bytes_array_set = int Function (
@@ -7394,7 +7394,7 @@ typedef _c_obx_sync_credentials = ffi.Int32 Function(
73947394 ffi.Pointer <OBX_sync > sync_1,
73957395 ffi.Int32 type,
73967396 ffi.Pointer <ffi.Void > data,
7397- ffi.Int32 size,
7397+ ffi.IntPtr size,
73987398);
73997399
74007400typedef _dart_obx_sync_credentials = int Function (
0 commit comments