Ejemplo n.º 1
0
 public static void AddEnumAndValues(this INativeSymbolStorage storage, NativeEnum enumeration)
 {
     // Enumerations are already special cased hence this behavior is automatic.
     // https://github.com/jaredpar/pinvoke/issues/16
     storage.Add(new NativeGlobalSymbol(enumeration));
 }
Ejemplo n.º 2
0
 public static void AddProcedure(this INativeSymbolStorage storage, NativeProcedure procedure) => storage.Add(new NativeGlobalSymbol(procedure));
Ejemplo n.º 3
0
 public static void AddDefinedType(this INativeSymbolStorage storage, NativeDefinedType definedType) => storage.Add(new NativeGlobalSymbol(definedType));
Ejemplo n.º 4
0
 public static void AddTypeDef(this INativeSymbolStorage storage, NativeTypeDef typeDef) => storage.Add(new NativeGlobalSymbol(typeDef));
Ejemplo n.º 5
0
 public static void AddConstant(this INativeSymbolStorage storage, NativeConstant constant) => storage.Add(new NativeGlobalSymbol(constant));