Nim/lib/system
jyelon e8bc19f79c Add 'auto-decoration' to nimGetProcAddr
Maintainers of win32 DLLs can opt to provide libraries with
'decorated' function names (Google "stdcall name decoration").  To
pull a function pointer out of one of these DLLs, you have to pass a
decorated name to getProcAddress.  This is painful for the authors
of NIM DLL wrappers - they have to pass manually-decorated strings
to "importc", but only on win32.

This commit adds auto-decoration to nimGetProcAddress.  This function
will probe the DLL for the undecorated name, and if that fails, it
will automatically add decoration and try again.  That way, the author
of the wrapper doesn't have to deal with it.
2015-11-11 21:55:33 -05:00
..
alloc.nim Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-10-01 22:08:29 +06:00
ansi_c.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
arithm.nim fixes #2909 2015-06-15 00:56:20 +02:00
assign.nim cleanup destructor building for arrays; still doesn't work 2015-08-18 13:57:37 +02:00
atomics.nim fixed threadpool and atomics to work with Visual Studio 32 and 64 bit 2015-06-09 11:59:26 -06:00
avltree.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
cellsets.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
cgprocs.nim proper distinction between --gc:none and --os:standalone 2015-06-29 02:48:33 +02:00
channels.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
chcks.nim Move the noreturn pragma to sysFatal 2015-05-05 20:26:54 +02:00
debugger.nim Fixed --debugger:on option. Removed c_line from termios. 2015-08-12 12:04:26 +03:00
deepcopy.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
dyncalls.nim Add 'auto-decoration' to nimGetProcAddr 2015-11-11 21:55:33 -05:00
embedded.nim Fix type of setControlCHook parameter 2015-01-27 12:00:08 +01:00
endb.nim bug fix: Switch state to dbgSkipCurrent for Eval, Local & Global commands. 2015-09-03 09:21:25 +10:00
excpt.nim Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs. 2015-07-31 17:59:50 +03:00
gc.nim fixes #3245 2015-08-25 15:13:39 +02:00
gc2.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
gc_common.nim Change TAddress to ByteAddress 2015-09-14 11:51:21 +06:00
gc_ms.nim fixes #3245 2015-08-25 15:13:39 +02:00
hti.nim Fix typos in comments 2015-06-21 21:25:38 +02:00
inclrtl.nim udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
jssys.nim Fixed ret by var in js 2015-10-15 16:04:53 +03:00
mmdisp.nim Remove spurious unsigned operations from system/threads.nim. 2015-09-08 19:12:01 +02:00
nimscript.nim Nimscript fixes 'cpFile' typo 2015-11-03 14:52:36 +01:00
platforms.nim add msp430 cpu support 2015-08-26 00:00:46 -04:00
profiler.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
repr.nim Uint64 to string in pure nim. array[char] to string fixed in vm. 2015-09-14 20:32:09 +03:00
reprjs.nim the big renamefest: first steps 2014-08-22 23:54:26 +02:00
sets.nim fixes #3135 2015-08-02 02:56:00 +02:00
sysio.nim Fix readLine handling of long lines. 2015-08-28 17:21:03 +02:00
syslocks.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
sysspawn.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
sysstr.nim fixes #1832 2015-07-24 01:04:45 +02:00
threads.nim createThread is more convenient to use with a proc taking no arguments 2015-10-19 16:09:35 +02:00
timers.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00
widestrs.nim lib: Trim .nim files trailing whitespace 2015-09-04 23:03:56 +02:00