mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
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
525 B
27 lines
525 B
using System; |
|
using Mono.VisualC.Interop; |
|
|
|
namespace {0} {{ |
|
public class {1} : {2} {{ |
|
// interface |
|
{3} |
|
|
|
// struct |
|
{4} |
|
|
|
public {1} (IntPtr native) : base (native) |
|
{{ |
|
}} |
|
|
|
public override int NativeSize {{ |
|
get {{ return {5}; }} |
|
}} |
|
|
|
public override void Dispose () |
|
{{ |
|
throw new Exception ("This should never be called!"); |
|
}} |
|
}} |
|
}} |
|
|
|
|
|
|