emscripten-tutorial

How to build an increasingly complex C/C++ codebase to WebAssembly
git clone https://git.tronto.net/emscripten-tutorial
Download | Log | Files | Refs | README

primes.h (237B)


      1 #ifndef PRIMES_H
      2 #define PRIMES_H
      3 
      4 #include <limits.h>
      5 
      6 #define MAX_PRIME INT_MAX
      7 #define TABLESIZE (1 << 28)
      8 
      9 int primes_in_range(int, int, void (*)(const char *));
     10 void generate_primes(unsigned char *, void (*)(const char *));
     11 
     12 #endif