53 LONG
rv = SCardConnect(
e->ctx,
rname, SCARD_SHARE_SHARED,
54 SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1,
57 if (
rv != SCARD_S_SUCCESS) {
push_value(vm, make_int(hslot))
static pcsc_card_entry * pcsc_get_card(int id)
Lookup a card slot by id.
static int pcsc_alloc_card_slot(void)
Allocate a free card slot in the PC/SC registry.
static pcsc_ctx_entry * pcsc_get_ctx(int id)
Lookup a context slot by id.
Tagged union representing a Fun value.
char * value_to_string_alloc(const Value *v)
Allocate a printable C string for a Value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.