Testing latest pari + WASM + node.js... and it works?! Wow.
License: GPL3
ubuntu2004
/* Copyright (c) 2002 Jorge Acereda <[email protected]> &1Peter O'Gorman <[email protected]>23Portions may be copyright others, see the AUTHORS file included with this4distribution.56Maintained by Peter O'Gorman <[email protected]>78Bug Reports and other queries should go to <[email protected]>910Permission is hereby granted, free of charge, to any person obtaining11a copy of this software and attached documentation files (the12"Software"), to deal in the Software without restriction, including13without limitation the rights to use, copy, modify, merge, publish,14distribute, sublicense, and/or sell copies of the Software, and to15permit persons to whom the Software is furnished to do so, subject to16the following conditions:1718The above copyright notice and this permission notice shall be19included in all copies or substantial portions of the Software.2021THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,22EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF23MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND24NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE25LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION26OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION27WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.28*/29#ifndef _DLFCN_H_30#define _DLFCN_H_3132#ifdef __cplusplus33extern "C" {34#endif353637/*38* Structure filled in by dladdr().39*/4041typedef struct dl_info {42const char *dli_fname; /* Pathname of shared object */43void *dli_fbase; /* Base address of shared object */44const char *dli_sname; /* Name of nearest symbol */45void *dli_saddr; /* Address of nearest symbol */46} Dl_info;474849extern void * dlopen(const char *path, int mode);50extern void * dlsym(void * handle, const char *symbol);51extern const char * dlerror(void);52extern int dlclose(void * handle);53extern int dladdr(void *, Dl_info *);5455#define RTLD_LAZY 0x156#define RTLD_NOW 0x257#define RTLD_LOCAL 0x458#define RTLD_GLOBAL 0x859#define RTLD_NOLOAD 0x1060#define RTLD_NODELETE 0x80616263#ifdef __cplusplus64}65#endif6667#endif /* _DLFCN_H_ */686970