ClangSharp
ClangSharp copied to clipboard
Prefix strip for the types (enums and structs)
There is a --prefixStrip key to strip the prefix from function name. Would be great to have similar key to strip the prefix from enums and structs.
For example for the given input header file:
typedef struct abc_some_struct_ {} abc_some_struct;
typedef enum abc_some_enum_ {} abc_some_enum;
void __declspec(dllimport) api_foo();
The expected output would be
namespace Abc
{
public struct some_struct {};
public enum some_enum {};
public class API
{
void foo();
}
}