mirror of
https://github.com/janet-lang/janet
synced 2024-11-17 22:24:49 +00:00
Update windows builds for raw-natives.
This commit is contained in:
parent
74348ab6c2
commit
986e36720e
@ -2,6 +2,7 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## Unreleased - ???
|
## Unreleased - ???
|
||||||
|
- Add `raw-native`, `native-lookup`, and `native-close` for interfacing with dynamic libraries.
|
||||||
- Add mutexes (locks) and reader-writer locks to ev module for thread coordination.
|
- Add mutexes (locks) and reader-writer locks to ev module for thread coordination.
|
||||||
- Add `parse-all` as a generalization of the `parse` function.
|
- Add `parse-all` as a generalization of the `parse` function.
|
||||||
- Add `os/cpu-count` to get the number of available processors on a machine
|
- Add `os/cpu-count` to get the number of available processors on a machine
|
||||||
|
@ -55,7 +55,6 @@ typedef int Clib;
|
|||||||
typedef HINSTANCE Clib;
|
typedef HINSTANCE Clib;
|
||||||
#define load_clib(name) LoadLibrary((name))
|
#define load_clib(name) LoadLibrary((name))
|
||||||
#define free_clib(c) FreeLibrary((c))
|
#define free_clib(c) FreeLibrary((c))
|
||||||
#elif defined(JANET_WINDOWS)
|
|
||||||
#define symbol_clib(lib, sym) GetProcAddress((lib), (sym))
|
#define symbol_clib(lib, sym) GetProcAddress((lib), (sym))
|
||||||
static char error_clib_buf[256];
|
static char error_clib_buf[256];
|
||||||
static char *error_clib(void) {
|
static char *error_clib(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user