Mercurial > games > semicongine
diff fuhtark_test/include/dlfcn.h @ 1500:91c8c3b7cbf0 main
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuhtark_test/include/dlfcn.h Wed Nov 26 21:36:48 2025 +0700 @@ -0,0 +1,24 @@ +#ifndef __DLFCN_H__ +# define __DLFCN_H__ +/* + * $Id: dlfcn.h,v 1.1 2003/04/29 20:21:35 tchamp Exp $ + * $Name: $ + * + * This file is set under public domain. Please read disclaimer. + */ +extern void *dlopen (const char *file, int mode); +extern int dlclose (void *handle); +extern void *dlsym (void * handle, const char * name); +extern char *dlerror (void); + +/* These don't mean anything on windows */ +#define RTLD_NEXT ((void *) -1l) +#define RTLD_DEFAULT ((void *) 0) +#define RTLD_LAZY -1 +#define RTLD_NOW -1 +#define RTLD_BINDING_MASK -1 +#define RTLD_NOLOAD -1 +#define RTLD_GLOBAL -1 + +#endif /* __DLFCN_H__ */ +
