Dimitar Dobrev
9c0f80f69d
Bound the supported specialisations with generic syntax in the generated C#. ( #880 )
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
49e94460a5
Fixes Stack mismatch when bool param passed from C++ to C#
...
Fixes #834
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
3a3d003eb8
Generated properties of supported template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9f4d501d0b
Fixed a regression of overridden setters not turning into properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
54f3af1459
Revert "Simplified the C# marshalling of Boolean fields."
...
This reverts commit dc270ef2a8
.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
dc270ef2a8
Simplified the C# marshalling of Boolean fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
b4bedeb448
Fixed the addition of Windows SDK include dirs when using VS 2017.
...
Fixes https://github.com/mono/CppSharp/issues/865 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
cbd1e0e53c
Fixed the macOS build with the new Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
5da324dcf8
Link LLVM's BinaryFormat library last to fix Linux symbol linkage.
8 years ago
Joao Matos
653d0efb2c
Updated deprecated os.is() checks in Premake build scripts.
8 years ago
Joao Matos
ba130c6e6f
Updated Premake binary for Windows.
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
Joao Matos
6c5d51ebd8
Updated Premake binaries for Linux and macOS.
8 years ago
Joao Matos
e72661ba24
Fixed the check for Vagrant environment on build scripts.
8 years ago
Joao Matos
4fff5854c2
Update CMake version and do provisioning on Linux.
8 years ago
Joao Matos
bd2b22c580
Update build process utilities to work with Lua 5.2 in up-to-date Premake.
8 years ago
Joao Matos
709f431f9e
Upgrade the Vagrant and provisioning script to Ubuntu 16.06.
8 years ago
Joao Matos
1ebbcdf668
Fixed the LLVM build script CMake invocation to work with recent LLVM/Clang revisions.
...
This fixes the dreaded CMake error:
CMake Error at tools/clang/tools/clang-offload-bundler/CMakeLists.txt:18 (add_dependencies):
Cannot add target-level dependencies to non-existent target "clang".
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
Kimon Topouzidis
346bc97abc
Included the headers for AST tests to the solution. ( #881 )
...
Fixes #850
8 years ago
Kimon Topouzidis
d7c8a61ecc
Manipulated comments to avoid duplication of summary block. ( #876 )
...
Fixes #759 Works around: https://bugs.llvm.org/show_bug.cgi?id=33333
8 years ago
Mohit Mohta
65d5037a72
Fixed the generation of C# for Virtual function with std::string params ( #878 )
...
Fixes #877
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
Dimitar Dobrev
3d9b8df2e3
Merged the pass for ignoring move ctors to the one for ignoring in general.
...
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
Joao Matos
5caa12375c
Add Decimal primitive types to the AST type model.
8 years ago
Joao Matos
86a2a171cc
Improved Class.GetOverloads method to work with functions as generalized declarations.
8 years ago
Kimon Topouzidis
1298634804
Extended declarations to store their packing. ( #871 )
8 years ago
Dimitar Dobrev
2f99e83b85
Removed the duplicate exporting of template functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
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
Dimitar Dobrev
cfc6da4600
Fixed the generated C# when a field is named after a property to be generated.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
b1253d19a6
Added dependency of Std-symbols to Generator ( #863 )
8 years ago
Mohit Mohta
b4462274c2
Added exporting of std-symbols ( #862 )
8 years ago
Dimitar Dobrev
37adb3efc9
Fixed the binding of indexer overloads when there's more than one class key.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
c3f5b596ce
Simplified and shortened the names of internal functions in many cases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
c740a34dfa
Fixed the binding of a copy ctor when a move ctor exists too.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
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
762d3803d7
Changed the C#-printing of template specialisation types to use their arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
91bcc7c8a2
Fixed the generated C# when std::string is only used as a parameter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
d487088f53
Reduced the wrapped specialisations to ones used in public members.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
1f61f51b4e
Added C#-printing of float128.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
49badc5d84
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago