I have the following C function that takes in an array compressed by the zfp library, and attempts to decompress it. int EMSCRIPTEN_KEEPALIVE zfpDecompress(int precision, float* array, int nx, int ...
#include <emscripten.h> #include <stdio.h> extern void testFloatCallback(void(*func)(float)); void callback(float a){ printf("callback: %f\n", a); } int main(int argc ...