Mohit Mohta
65d6c49e1b
Making the code run properly from a different working directory ( #891 )
8 years ago
Mohit Mohta
ed5eab6add
Pass the path of clang includes to ResourceDir ( #888 )
8 years ago
Dimitar Dobrev
f4d9259450
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
a7cf984486
Fixed a memory leak when marshalling std::string in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
d9960538af
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f946eea70e
Fixed the Unix build after upgrading the Unix Clang packages.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
b52ad8b43f
Update Premake build files to latest syntax.
8 years ago
Dimitar Dobrev
d7daed8273
Added support for VS 2017 by updating Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e04afb8bd5
Generated C# marshalling structures for classes nested in specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
ktopouzi
75b96143d2
Used packing when laying marshalling structures out sequentially.
...
Fixes https://github.com/mono/CppSharp/issues/772 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
1298634804
Extended declarations to store their packing. ( #871 )
8 years ago
Mohit Mohta
3699574983
Removed the macros in C++ AST for std::string because we can marshal it ( #866 )
8 years ago
Dimitar Dobrev
422b98a0fd
Enabled the tests for std::string.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f729414ae7
Fixed a bug causing internals of used specialisations to be skipped.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
4075ba7144
Enabled dtor generation in basic_string ( #864 )
8 years ago
Dimitar Dobrev
6c59014d7a
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
b4462274c2
Added exporting of std-symbols ( #862 )
8 years ago
Mohit Mohta
3298bc86e7
Renamed Std-templates to Std-symbols ( #860 )
8 years ago
Mohit Mohta
96beeeada3
Added Generation of Std-templates Project ( #859 )
8 years ago
Dimitar Dobrev
49badc5d84
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
e8e03f7aae
Added float128 to the marshalling structures in the C# generator. ( #857 )
8 years ago
Dimitar Dobrev
b77de1a36c
Improved the collection of type template parameters when parsing dependent name types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
51fe04b666
Made all fields of C# marshalling structures internal.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
db1522d7b2
Regenerated the parser bindings ( #844 )
8 years ago
Mohit Mohta
185cbfdcf6
Deleted Obsolete Options and replaced them with Modules ( #828 )
...
Fixes #766
8 years ago
Dimitar Dobrev
9dbcc3cc2c
Completed the support for dependent type names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
974f8fab20
Replaced the useless desugared dependent name type with its qualifier.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
realvictorprm
936d2231a7
Fixed wrong recording of declaration order ( #816 )
...
This is a bugfix for critical bug. With the fix the generation of the parser bindings should be nearly correct.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
6d63508d3f
Sent a missed changed about reading the function type in the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
realvictorprm
10c86a2a10
Fixed the generated C# when an incomplete class is forwarded more than once.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
realvictorprm
9d89764965
Wrapped injected classes in order to ease binding lists of redeclarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
9dc880dd6a
Fixed build files to run mono64 in 64-bit non-VS builds.
8 years ago
Dimitar Dobrev
d293a7f49f
Regenerated the parser bindings with the renaming of enum items.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
10ac0a4865
Fixed the getting of the template a specialised function is instantiated from.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
5e5e1d0f11
Regenerated the parser bindings with the optimisation when allocating.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
fed72f5910
Ensured the C# gen correctly imports a native library with no target triple.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f809dbf2d4
Removed redundant paragraphs and spaces when printing C# XML comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
dbfd93d941
Fixed the comment kind of the parser generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
8646d3e077
Obsoleted the direct settings for wrapped libraries in the options.
...
Modules should be used instead.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
af6e2ec194
Regenerated the parser bindings to use the new dynamic allocation of memory in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
cbb64c4c62
Fixed a regression when generating imports of libraries with '.' in the name on Windows.
...
P/Invoke in .NET (on Windows) can only import libraries with '.' in the name if they are explicitly suffixed (have ".dll" at the end).
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
dad52a2d5b
Clean up display paths of generated build project files.
...
Fixes issue #639 . https://github.com/mono/CppSharp/issues/639
9 years ago
Dimitar Dobrev
ecce0d4c33
Regenerated the parser bindings with fully qualified types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
7ad1af0cac
Removed redundant qualification of types in the generated C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
e32ebc8200
Added resolution of C++ "auto" types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
3070cdd955
Stubbed BuiltinTemplate and ClassScopeFunctionSpecialization decl types in parser.
9 years ago
Joao Matos
70257ab6df
Stubbed out clang AutoType in the parser to get rid of warnings.
9 years ago
Dimitar Dobrev
ee171eb9fa
Freed up the native parser options when done with.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
acb159c08f
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
fe0ee21392
Remove and sort usings.
9 years ago