annotate rt/deh.di @ 191:52188e7e3fb5
Fixed deprecated features, now compiles with DMD2.058
Also changed Array allocation policy:
Now doesn't reallocate but malloc's, followed by a memcpy (no free).
(this fixes a crash while compiling druntime. Same bug in dmd)
author |
korDen@korDen-pc |
date |
Sun, 25 Mar 2012 03:11:12 +0400 |
parents |
a4c9de8e39b3 |
children |
|
rev |
line source |
189
|
1 module rt.deh;
|
|
2
|
|
3 import core.sys.windows.windows;
|
|
4
|
|
5 enum size_t EXCEPTION_MAXIMUM_PARAMETERS = 15;
|
|
6
|
|
7 struct EXCEPTION_RECORD {
|
|
8 DWORD ExceptionCode;
|
|
9 DWORD ExceptionFlags;
|
|
10 EXCEPTION_RECORD* ExceptionRecord;
|
|
11 PVOID ExceptionAddress;
|
|
12 DWORD NumberParameters;
|
|
13 DWORD[EXCEPTION_MAXIMUM_PARAMETERS] ExceptionInformation;
|
|
14 }
|
|
15 alias EXCEPTION_RECORD* PEXCEPTION_RECORD, LPEXCEPTION_RECORD;
|
|
16
|
|
17 Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD* exception_record);
|