Appearance
| 1 | @@IF.dotnet() | |
| 2 | ||
| 3 | namespace Semantic is | |
| 4 | // What a method's `DllImport` says: the module to call into, the | |
| 5 | // name to look up in it, and the flags the runtime marshals by. | |
| 6 | // | |
| 7 | // The name is the method's own, as written, unless `EntryPoint` | |
| 8 | // gives another: a native symbol is matched by exact spelling, so | |
| 9 | // nothing here converts case the way a reflected .NET name is | |
| 10 | // converted on the way in. | |
| 11 | class PINVOKE_IMPORT( | |
| 12 | module: string public, | |
| 13 | entry_point: string public, | |
| 14 | import_attributes: System.Reflection.MethodImportAttributes public | |
| 15 | ) is si | |
| 16 | si |