39 LONG
rv = SCardListReaders(
e->ctx, NULL, NULL, &
sz);
40 if (
rv != SCARD_S_SUCCESS ||
sz == 0) {
51 rv = SCardListReaders(
e->ctx, NULL,
msz, &
sz);
52 if (
rv != SCARD_S_SUCCESS) {
67 for (
int i = 0; i <
count; ++i)
static pcsc_ctx_entry * pcsc_get_ctx(int id)
Lookup a context slot by id.
Tagged union representing a Fun value.
Value make_string(const char *s)
Construct a string Value by duplicating the given C string.
Value make_array_from_values(const Value *vals, int count)
Create an array Value by copying items from an input span.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.
static void push_value(VM *vm, Value v)
Push a Value onto the VM operand stack.