Usage
1
#include <ec.h>
2
3
int main(void) {
4
if(ec_init() != 0) {
5
//init failed
6
}
7
...
8
}
Copied!
ec.h is the only header required, and declares all user-accessible functionality. -lec will link to it.
ec_init() should be called before any other function in the library.
All functions other than ec_init() are thread-safe, but data structures should not be shared by multiple threads without appropriate protection.
Last modified 1yr ago
Copy link