I am integrating Neko VM into my desktop application. I searched a lot, but I still cannot find useful information about these two functions, which are declared in neko_vm.h:
neko_vm.h
void *neko_vm_custom( neko_vm *vm, vkind k ); void neko_vm_set_custom( neko_vm *vm, vkind k, void *v );
What are these features for?
Got some answer here .
With it, neko_vm_set_customyou can attach a user-defined variable (e.g. context) of a user-defined type to your Neko virtual machine.
neko_vm_set_custom
With neko_vm_customyou get this variable back.
neko_vm_custom
: , . neko_vm_set_custom , neko_vm_custom .
Source: https://habr.com/ru/post/1616137/More articles:JS - transform non-destructible space - javascriptFlume agent: add a host to the message, and then post to the kafka topic - hadoopHow to create a class in TypeScript - javascriptMoving odd pragmas outside class header - c ++What does node.js --trace-gc output mean? - garbage-collectionSearch for partially similar files in a large archive - comparisonWe form all permutations of the matrix in R - rClose Duplication in Data Streams - duplicatesIncrease if the result starts with the word - elasticsearchHow to Allow iPad Application to Communicate with Local Server on Windows 8 Laptop - iosAll Articles