Tom Spilman
f6aaa7400b
Checking for null like FindClass().
11 years ago
Tom Spilman
2027212e85
Fixed FindFunction() to search namespaces.
11 years ago
Elias Holzer
15f1394aaf
The extension method Type.IsPointerTo<T> will take attributed types into account.
...
Fixed generation of attributed delegate types in my case.
11 years ago
Elias Holzer
92568fadbf
Added new extension method Type.GetPointee() which returns the pointee of either a Pointer- or MemberPointerType.
11 years ago
Elias Holzer
d8b855bfe6
Fixed handling of primitive pointer types.
11 years ago
Elias Holzer
1b541ade5f
Helper method DeclarationContext.FindClass supports nested classes now.
11 years ago
marcos henrich
1ad7481136
Added properties FileRelativeDirectory and FileRelativePath to TranslationUnit.
11 years ago
marcos henrich
ec93889b64
Using property ExplicitlyIgnore instead of Ignore, so types that are not referenced can still be referenced.
11 years ago
triton
547ffc440a
Added helper property to represent if a property is an indexer.
11 years ago
Elias Holzer
cff1349d2c
Fixed retrieval of method overloads in case the provided function is an operator.
11 years ago
Elias Holzer
55bbba46dd
Desugar a type to test whether it is primitive or not.
11 years ago
Elias Holzer
fd0cabb8eb
Desugar a type to test whether or not it is a tag declaration.
11 years ago
triton
7c64924f04
Removed redundant constructors.
11 years ago
triton
accc590727
Minor whitespace cleanup.
11 years ago
triton
440632896f
Added support for logical names to the declarations.
...
While at it, I also refactored the logic of Qualified name properties. Now instead of recursion it will gather all the used namespaces and filter them.
11 years ago
triton
ee3fbd8e03
Added support for anonymous C++11 inline namespaces to the AST and parsers.
11 years ago
triton
12b0764b4d
Fixed trailing whitespace.
11 years ago
triton
7faa50d945
Fixed native symbol naming.
...
We now properly name the internal ctor declarations by constructor type.
We also now keep an index for each function that is used to unique their native name.
11 years ago
Øystein Krog
065b8054b2
Add PrimitiveType.UIntPtr in AST and code generators
12 years ago
Øystein Krog
4d62a5be31
Add clone ctor in Field
12 years ago
Øystein Krog
e0812abbd7
Move helper methods in Class out from class and into extension class ClassExtensions
12 years ago
Øystein Krog
fb127211ec
Move helper methods in Property out from class and into extension class PropertyExtensions
12 years ago
Øystein Krog
d3e963ff19
Move helper methods in Type out from class and into extension class TypeExtensions
12 years ago
Dimitar Dobrev
445f460b47
Fixed the reporting of compilation errors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
a5b9c10681
Reverted "Cleared up and fixed the exported symbols of libraries." Extended the symbols with stripped of the initial '_' ones.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
adc16e3877
Cleared up and fixed the exported symbols of libraries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
093ae1548b
Avoided crashes when generating code corresponding to translation units at invalid locations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
99849da1d1
Added preliminary support for char16 to avoid crashes because of null parameter types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
66363787b4
Stubbed support for pack expansions to avoid crashes in certain cases such as variadic templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
11ef53df10
Generated all internals of all (including ignored) classes and all of their fields in order to properly store objects in managed code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
0a102d8fbc
Added better wrapping for static classes.
12 years ago
Øystein Krog
c8b69fd601
Add Expression property in Field, allows a field to have a "value"
12 years ago
Øystein Krog
240d2db53d
Add new IExpressionPrinter interface, with CSharpExpressionPrinter implementation
12 years ago
Dimitar Dobrev
e08f2083f8
Worked around a bug of some incomplete classes having empty complete declarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
59e0fb9ede
Generated correct v-tables when using the Itanium ABI.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
3209f1a398
Fixed a possible crash in the finding of classes by name.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
d56affd117
Fixed the finding of classes to only return complete declarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
cfeed2619a
Extended type maps with the ability to insert custom code instead of a copy ctor invocation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
76cf4e68d8
Simplify declaration ignores by removing IsProcessed and fixing ExplicitlyIgnored to be recursive like the others ignore properties.
12 years ago
Dimitar Dobrev
e1a12027ec
Wrapped value typed fields with properties in order to have changes reflected to the native pointer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
819df6a2a2
Fixed CLI generation with references to pointers types (added a test).
12 years ago
Joao Matos
3c27e0fad6
Improved generation of enumerations from macros.
...
We now keep track if a certain macro has already been generated in an enum and skip it in future calls to GenerateEnumFromMacros.
12 years ago
Joao Matos
19376cc2c3
Added support for keeping track of extern "C" contexts in classes/structs.
12 years ago
triton
7ceea91333
Fixed members initialization in TranslationUnit constructors.
12 years ago
triton
79816a375e
Remove useless constructor.
12 years ago
Dimitar Dobrev
9686187eb1
Wrapped properties of non-primitive value types as fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
0954ad0c7e
Fixed destructors by keeping track when they are non-trivial.
12 years ago
Joao Matos
b19cd1042e
Updated build scripts with OS X fixes and added some building documentation.
12 years ago
triton
af3327a43d
Removed unused constructor from BaseClassSpecifier.
12 years ago
triton
3fd94bf482
Added better support for destructors.
...
Also changed the native identifier mangling scheme to add some shorthand for the type of special method. This makes it simpler to read through the generated binding code.
Hopefully fixes #142 .
12 years ago