A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
1.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<config id="AvaloniaNative" xmlns="urn:SharpGen.Config">
<assembly>Avalonia.Native</assembly>
<namespace>Avalonia.Native.Interop</namespace>
<depends>SharpGen.Runtime.COM</depends>
<include-dir>$(THIS_CONFIG_PATH)/headers</include-dir>
<include file="avalonia-native.h"
namespace="Avalonia.Native.Interop"
attach="true"
pre="#define COM_GUIDS_MATERIALIZE\n"/>
<include file="com.h"
namespace="Avalonia.Native.Interop"
attach="true"
pre="#define COM_GUIDS_MATERIALIZE\n"/>
<bindings>
<bind from="HRESULT" to="SharpGen.Runtime.Result"/>
<bind from="HRESULT" to="SharpGen.Runtime.Result"/>
</bindings>
<mapping>
<remove function=".*" />
<map interface="*.Events" callback="true" autogen-shadow="true"/>
<map interface="*.Callback" callback="true" autogen-shadow="true"/>
<map param=".*::.*::ppv" return="true"/>
<map param=".*::.*::ret" return="true"/>
<map param=".*::.*::retOut" attribute="out" return="true"/>
</mapping>
</config>