CppAst.CodeGen icon indicating copy to clipboard operation
CppAst.CodeGen copied to clipboard

An extensible library providing C# PInvoke codegen from C/C++ files for .NET

Results 8 CppAst.CodeGen issues
Sort by recently updated
recently updated
newest added

A fixed size buffer of a typedef of a primitive generates improperly: C ``` typedef uint64_t ecs_id_t; typedef struct ecs_bulk_desc_t { ecs_id_t ids[32]; } ``` C# ``` public readonly partial...

Providing public access to `CppElement` and `Parent` so they can be set from non-internal plugins. This resolves #24

I am wanting to provide my own version of this Converter but the issue here is that `CppElement` is `internal set` on `CSharpElement` which doesn't allow me to provide the...

enhancement
PR welcome

When attempting to generate an enum using a macro definition the code generated does not compile. # Current c++ ``` /*! Macro to set a the prefix bytes of an...

bug
PR welcome

Current: ```C# /// /// The summary for the cpp function delegate /// /// parameter description. /// parameter description. /// parameter description. /// /// @brief This callback will be invoked whenever...

bug
PR welcome

# Reproducer ``` namespace ns { struct Foo { unsigned short _h; }; } class Bar { ns::Foo member_; }; class Baz { ns::Foo member_; }; ``` # Issue The...

1. I want to add custom mapping rules. eg: vec3_t => Vector3f 2. For pointer type in C directly map to pointer type in C# too.

question

I have traveled the code in this repo and I want to add delegate* support. ```c typedef int (*fnAdd)(int,int); struct S{ fnAdd pfnAdd; }; ``` generates ```cs struct S {...

enhancement