![]() |
Fun 0.41.5
The programming language that makes you have fun!
|
Implements the OP_PCSC_RELEASE opcode (conditional build). More...
Go to the source code of this file.
Functions | |
| free_value (vid) | |
| if (!e) | |
| SCardReleaseContext (e->ctx) | |
| push_value (vm, make_int(1)) | |
Variables | |
| case | OP_PCSC_RELEASE |
| int | id = (int)vid.i |
| pcsc_ctx_entry * | e = pcsc_get_ctx(id) |
| e | in_use = 0 |
| e | ctx = 0 |
| break | |
Implements the OP_PCSC_RELEASE opcode (conditional build).
Releases a previously established PC/SC context and frees its registry slot. When PCSC support is disabled at build time, this opcode returns 0 after consuming its argument.
OP_PCSC_RELEASE: (ctx_id:int) -> int
Definition in file release.c.
| free_value | ( | vid | ) |
| push_value | ( | vm | , |
| make_int(1) | ) |
| SCardReleaseContext | ( | e-> | ctx | ) |
| pcsc_ctx_entry* e = pcsc_get_ctx(id) |