mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
3e32fac876
* chore: pass platform info to rust side * chore: pass platform info to rust side * chore: fix test * chore: fix test * chore: fix test * chore: enable ios log
21 lines
455 B
C
21 lines
455 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
int64_t init_sdk(int64_t port, char *data);
|
|
|
|
void async_event(int64_t port, const uint8_t *input, uintptr_t len);
|
|
|
|
const uint8_t *sync_event(const uint8_t *input, uintptr_t len);
|
|
|
|
int32_t set_stream_port(int64_t port);
|
|
|
|
int32_t set_log_stream_port(int64_t port);
|
|
|
|
void link_me_please(void);
|
|
|
|
void rust_log(int64_t level, const char *data);
|
|
|
|
void set_env(const char *data);
|