using const char

This commit is contained in:
Gabriel mermelstein 2025-04-09 18:55:12 +03:00
parent f21c3e6fcb
commit 59c965997e
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -28,7 +28,7 @@ typedef void (*SdsCallBack) (int callerRet, const char* msg, size_t len, void* u
* @param channelId A unique identifier for the communication channel.
* @return An opaque handle (void*) representing the instance, or NULL on failure.
*/
void* NewReliabilityManager(char* channelId, SdsCallBack callback, void* userData);
void* NewReliabilityManager(const char* channelId, SdsCallBack callback, void* userData);
#ifdef __cplusplus