Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
list_readers.c File Reference

Implements the OP_PCSC_LIST_READERS opcode (conditional build). More...

Go to the source code of this file.

Functions

 free_value (vid)
 push_value (vm, make_array_from_values(NULL, 0))

Variables

case OP_PCSC_LIST_READERS
 break

Detailed Description

Implements the OP_PCSC_LIST_READERS opcode (conditional build).

Lists available PC/SC reader names for a given context. On success returns an array of strings. When PCSC support is disabled at build time, returns an empty array after consuming its argument to keep the stack balanced.

Definition in file list_readers.c.

Function Documentation

◆ free_value()

free_value(vid)

◆ push_value()

push_value(vm,
make_array_from_values(NULL, 0) )

Variable Documentation

◆ break

break

Definition at line 84 of file list_readers.c.

◆ OP_PCSC_LIST_READERS

case OP_PCSC_LIST_READERS

OP_PCSC_LIST_READERS: (ctx_id:int) -> array<string>

  • Pops: ctx_id.
  • Pushes: array of reader names on success; empty array on error/disabled.

Definition at line 27 of file list_readers.c.