66 */
77global using unsafe KeyPairContextType = byte * ;
88
9- global using CChar = byte ;
10-
119global using SessionHandle = nuint ;
1210global using CommitResultHandle = nuint ;
1311global using WelcomeResultHandle = nuint ;
@@ -284,7 +282,7 @@ public static unsafe partial class libdave
284282 [ LibraryImport ( LIBRARY_NAME , EntryPoint = "daveSessionCreate" ) ]
285283 public static partial SessionHandle SessionCreate (
286284 KeyPairContextType context ,
287- CChar * authSessionId ,
285+ byte * authSessionId ,
288286 MLSFailureCallback callback
289287 ) ;
290288
@@ -307,7 +305,7 @@ public static partial void SessionInit(
307305 SessionHandle session ,
308306 ushort version ,
309307 ulong groupId ,
310- ReadOnlySpan < CChar > selfUserId
308+ ReadOnlySpan < byte > selfUserId
311309 ) ;
312310
313311 // void daveSessionReset(DAVESessionHandle session)
@@ -366,7 +364,7 @@ public static partial void SessionProcessProposals(
366364 SessionHandle session ,
367365 byte * proposals ,
368366 nint length ,
369- CChar * * recognizedUserIds ,
367+ byte * * recognizedUserIds ,
370368 nint recognizedUserIdsLength ,
371369 byte * * commitWelcomeBytes ,
372370 nint * commitWelcomeBytesLength
@@ -427,7 +425,7 @@ public static partial void SessionGetMarshalledKeyPackage(
427425 [ LibraryImport ( LIBRARY_NAME , EntryPoint = "daveSessionGetKeyRatchet" ) ]
428426 public static partial KeyRatchetHandle SessionGetKeyRatchet (
429427 SessionHandle session ,
430- CChar * userId
428+ byte * userId
431429 ) ;
432430
433431 /*
@@ -442,7 +440,7 @@ public static partial KeyRatchetHandle SessionGetKeyRatchet(
442440 public static partial void SessionGetPairwiseFingerprint (
443441 SessionHandle session ,
444442 ushort version ,
445- CChar * userId ,
443+ byte * userId ,
446444 PairwiseFingerprintCallback callback
447445 ) ;
448446
0 commit comments