You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
319 B
12 lines
319 B
// Contains the library exported C API functions.
|
|
// Actual work may be done in `capi-bridge.cpp`, `capi-bridge.h` bridges this shim TU with that working one
|
|
|
|
#include <rngxx.h>
|
|
|
|
#include "capi-bridge.h"
|
|
|
|
rng_t* rng_new(enum rng_kind kind, u64 seed[static restrict 1])
|
|
{
|
|
return RNG_IMPL(mkdriver) (kind, &seed[0]);
|
|
}
|