feat: add create message c interface.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
parent
305922724e
commit
d76c22e388
@ -56,6 +56,9 @@ int main(int argc, char **argv)
|
|||||||
printf("init_result: %u\n", init_result);
|
printf("init_result: %u\n", init_result);
|
||||||
|
|
||||||
login(success, on_connect_failed, operationID, uid, token);
|
login(success, on_connect_failed, operationID, uid, token);
|
||||||
|
// char text[] = "哈哈";
|
||||||
|
GoString message = create_text_message(operationID,"哈哈");
|
||||||
|
printf("return :%s",message);
|
||||||
|
|
||||||
sleep(1000000);
|
sleep(1000000);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user