diff options
author | jfrijters <jfrijters> | 2011-03-22 13:26:52 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-22 13:26:52 +0300 |
commit | 1147d79bf0f7149d5a75fbf9aa1c0bf97a4b615c (patch) | |
tree | 7b66153b61e9f58bcdd969ceca1c6bee463c0322 /reflect/Writer | |
parent | 72ca5c45b3cac08135a6b8deffac4aafd121a839 (diff) |
Added high level API extension MethodBuilder.__AddUnmanagedExport().
Diffstat (limited to 'reflect/Writer')
-rw-r--r-- | reflect/Writer/ModuleWriter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/reflect/Writer/ModuleWriter.cs b/reflect/Writer/ModuleWriter.cs index 67cd8561..bc764249 100644 --- a/reflect/Writer/ModuleWriter.cs +++ b/reflect/Writer/ModuleWriter.cs @@ -78,6 +78,7 @@ namespace IKVM.Reflection.Writer PEFileKinds fileKind, PortableExecutableKinds portableExecutableKind, ImageFileMachine imageFileMachine, ResourceSection resources, int entryPointToken, Stream stream) { + moduleBuilder.ApplyUnmanagedExports(imageFileMachine); moduleBuilder.FixupMethodBodyTokens(); moduleBuilder.ModuleTable.Add(0, moduleBuilder.Strings.Add(moduleBuilder.moduleName), moduleBuilder.Guids.Add(moduleBuilder.ModuleVersionId), 0, 0); |