Skip to content

Commit 4bcf060

Browse files
ffigen: adjust to changed on conflict renamed functions (#14)
1 parent cb43271 commit 4bcf060

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

objectbox/lib/src/native/box.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ int _getOBXPutMode(PutMode mode) {
385385
class _AsyncBoxHelper {
386386
final Pointer<OBX_async> _cAsync;
387387

388-
_AsyncBoxHelper(Box box) : _cAsync = C.async_1(box._cBox) {
388+
_AsyncBoxHelper(Box box) : _cAsync = C.async1(box._cBox) {
389389
initializeDartAPI();
390390
}
391391

objectbox/lib/src/native/sync.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class SyncClient {
149149
final cServerUri = serverUri.toNativeUtf8();
150150
try {
151151
_cSync = checkObxPtr(
152-
C.sync_1(InternalStoreAccess.ptr(_store), cServerUri.cast()),
152+
C.sync1(InternalStoreAccess.ptr(_store), cServerUri.cast()),
153153
'failed to create sync client');
154154
} finally {
155155
malloc.free(cServerUri);

0 commit comments

Comments
 (0)