Dimitar Dobrev
|
f7099fe552
|
Simplified and precised the pass for inlines.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
0ee5b23728
|
Restored ParserOptions as a ref type because it is inherited.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
29ef01699f
|
Renamed the flag indicating whether to HGlobal-free an instance.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d15d3f615b
|
Fixed warnings about hidden methods in generated code.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
d49be57467
|
Fixed generation bug for ARM ABI.
Closes #351.
|
11 years ago |
Dimitar Dobrev
|
c4b48cf185
|
Fixed some problems with arrays of void after mapping void* to IntPtr.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
dd5c324d01
|
Entirely removed the Internal struct from implementations of abstract classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
30cb2cbe85
|
Fixed an ambiguity between an internal ctor and a potential wrapped one.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
b231b00de1
|
Wrapped void* as IntPtr because unlike int*, char*, etc., void* is just ugly and not useful.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
f00fb2189f
|
Fixed a crash with GCC libs caused by calling FreeHGlobal on non-AllocHGlobal memory.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
4385ecac76
|
Fixed the finding of classes to also check name-spaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
2894999696
|
Fixed the generation of constructor overloads synthetised because of default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
1dbc76f134
|
Fixed a bug when a char parameter is assigned a default value of 0.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
9e5be9e92c
|
Added the ability to only enable a given type map for a selected back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
f67af3f59b
|
Removed a hack made redundant by the improved support for inlines.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
ee2582896c
|
Simplified the pass for inlines thus including more symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
3c7c19ffc0
|
Fixed the generation of anonymous types to consider parenting anonymous types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
319b9691d2
|
Marked the __Instance property in interfaces as synthetised.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
cf5cb69eab
|
Improved the advanced property pass to avoid a crash and generate more properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Pyry Kontio
|
8615c4ebeb
|
The simplest and least intrusive way to fix this.
|
11 years ago |
Dimitar Dobrev
|
c61cfa43a9
|
Exposed the architecture of native libraries.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d35a81c1f6
|
Ensured the UnmanagedFunctionPointerAttribute is always set on generated delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
ca72594c84
|
Extended the heuristics for obtaining function symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
a08e864441
|
Fixed the pass for changing parameter types to their respective interface, if any, not to lose any pointers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d2e01b1eda
|
Fixed the generation of copy ctors when mutiple inheritance is involved.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
643776b70e
|
Enabled the addition of undefines in the options.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
0d605cd3fa
|
Fixed the target triples with the new Clang.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
acdc093e0a
|
Fixed run-time crashes caused by updating to the new Clang.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
e606a7f2d0
|
Fixed parser to work with latest LLVM and Clang revisions.
|
11 years ago |
triton
|
934558ed54
|
Code cleanups, no functional changes intended.
|
11 years ago |
triton
|
9b0f221334
|
Try an alternative path separator when cleaning up file paths.
|
11 years ago |
triton
|
937bff4e2c
|
Skip generating some unique methods (ctors and dtors) for base classes when handling value types.
|
11 years ago |
triton
|
dc186ad5da
|
Stubbed out some type printing overloads.
|
11 years ago |
triton
|
8a3f50337c
|
Added an hack for parsing declaration without unique native pointers.
We only need this because we're re-using the parameter declaration for function type parameters.
|
11 years ago |
triton
|
2a124ce1a3
|
Implemented type printing for "va_list" type map.
|
11 years ago |
triton
|
3d55f436a3
|
Workaround for COFF compiling issue due to conflicting preprocessor defines.
|
11 years ago |
Dimitar Dobrev
|
7a68a1c9c0
|
Fixed a crash when parsing va_list in a GCC 64-bit environment.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
edabc9d0af
|
Fixed the wrapping of free functions when using the single-file option.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
719c1193ad
|
Added an option controlling the stripping of the "lib" prefix, if any, of the wrapped lib.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
1387b636e2
|
Replaced the usage of memcpy with a simple dereference assignment.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
0e8a6e368c
|
Moved the code for creating a ref object by value from the marshalling printer to a valid ctor by value.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
de4c551fda
|
Worked around a specific default argument construct used in Qt.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
95547dbec8
|
Fixed default arguments with enums directly declared in headers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
3b8873022b
|
Handled built-in binary operators in default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d481cf8078
|
Fixed the renaming of overloads generated because of default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
88a88599e7
|
Fixed the wrapping of bit masks in default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs
|
11 years ago |
Dimitar Dobrev
|
af101c5f60
|
Fixed a bug when converting name-spaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
2bc06983f3
|
Fixed the generation of default argument when a reference is assigned a value.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
17fa53ac06
|
Fixed the advanced pass for properties to skip ignored methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
dddd165001
|
Fixed the generation of a null check before returning a value.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |