get_proc_address
| Definition: | {atom addr, integer safe} = get_proc_address(atom lib, string name) |
| Description: |
Low-level wrapper of kernel32/GetProcAddress and libdl/dlsym. Used by define_c_func/define_c_proc/define_c_var and for runtime interpretation of inline assembly. Applications would not normally use this routine directly. |
| pwa/p2js: | Not supported. |
| Comments: |
This is simply some common code that is also needed by the run-time interpreter.
There is no validation, implicit or otherwise, that the given symbol name is a function, procedure, variable, or even something else. The complete absence of any error checking means that application code is usually much better served by define_c_func and friends. |
| Implementation: | See builtins\VM\pcfunc.e (an autoinclude) for details of the actual implementation. |
| See Also: | define_c_func, define_c_proc, define_c_var |