How to ensure wasm memory is freed when using it from JavaScript

后端 未结 0 1596
悲&欢浪女
悲&欢浪女 2021-01-30 17:44

I have a C library that looks like this:

struct timeseries *ts_create(void) {
    /* Allocate some memory and return a pointer. */
}

void ts_free(struct timeseri         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题