How to convert two strings of C type
#define ABCD 0x0FA
#define EFGH "1234 beef"
into two strings of C# type
public static uint ABCD = 0x0FA;
const string EFGH = "1234 beef";
using Python or any other [scripting] language?
Particularly, I would like to convert C/C++ .h or .c files into C# .cs file using scripting language. In other words, I would like to replace a C style 'definitions' with c# style declarations and wrap new strings into c# .cs wrapper
Thank you very much.