Refactored enum item generation in CLI backend to use blocks.
Use foreach instead of explicit for.
Small formatting fix.
Revert "Remove VS2010 support."

This reverts commit d48fdf654d148613b6a9f84301cad3872c869310.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Generated compilable wrappers for functions taking char*.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Fixed the wrapping of functions taking a function pointer.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Reworked C++/CLI pointer type printing.
Reworked native C++ pointer type printing.
Generated compilable wrappers for functions taking char*.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Converted const wchar_t* to string.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Added UnmanagedFunctionPointerAttribute to generated delegates to avoid run-time crashes.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Added suffixes to generated variables to avoid conflicts.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Fixed the generation of static function to use the correct return type.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Added a test for a free function with an indirect return type.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>