Conrad Kreyling
1286503fb7
Add ARM64 to ArchType
3 years ago
Conrad Kreyling
6fb31a42c7
remove ARM from main.yml, as runners are not generally available
3 years ago
Conrad Kreyling
dd57d69d1c
update ARM64 bindings to use Winapi calling convention
3 years ago
Conrad Kreyling
8326591069
Update Darwin path in Helpers.lua
3 years ago
Conrad Kreyling
f965ac0895
Merge branch 'arm64-bindings' of github.com:konistehrad/CppSharp into arm64-bindings
3 years ago
Conrad Kreyling
6348e87606
proper darwin version for headers
3 years ago
Conrad Kreyling
59ff7266e1
Copy templates.cpp to arm folders as well
3 years ago
Conrad Kreyling
b1cc421910
Update CppSharp.Parser.CSharp.csproj with ARM paths
3 years ago
Conrad Kreyling
27911ec3e4
Fix path resolution on non-Windows ParserGen
3 years ago
Conrad Kreyling
fec1a125a9
ARM64 and updated Darwin bindings
3 years ago
Conrad Kreyling
4306054fdc
Expand ParserGen to accept ARM64 build process
3 years ago
Conrad Kreyling
343bad112e
main.yml consumes arm64
3 years ago
João Matos
8bd3f456a1
Update llvm.yml to install AArch64 cross compilers
3 years ago
Conrad Kreyling
a81abd5614
LLVM crosscompile x64 for ARM64 ( #1826 )
...
* LLVM crosscompile x64 for ARM64
* Fix MacOS host platform test
* Ensure options is persistent in cross compile paths
3 years ago
Conrad Kreyling
3bda5b6d3d
proper darwin version for headers
3 years ago
Conrad Kreyling
378d5699f2
Copy templates.cpp to arm folders as well
3 years ago
Conrad Kreyling
011d637827
Update CppSharp.Parser.CSharp.csproj with ARM paths
3 years ago
Conrad Kreyling
126bdd396a
Merge branch 'main' into arm64-bindings
3 years ago
Conrad Kreyling
3f696434a5
Fix path resolution on non-Windows ParserGen
3 years ago
Conrad Kreyling
1d1b21f25e
Instruct generator to build ARM64 bindings
3 years ago
Conrad Kreyling
491248b7d5
Fix missing AArch64 entry in CLI CppAbi
3 years ago
Conrad Kreyling
bbb0693ef5
Enable ARM64 support on LLVM builds
3 years ago
Conrad Kreyling
ed62cc0f5c
ARM64 and updated Darwin bindings
3 years ago
Conrad Kreyling
c519e3825d
Expand ParserGen to accept ARM64 build process
3 years ago
Conrad Kreyling
26d8b432d7
main.yml consumes arm64
3 years ago
Conrad Kreyling
343d009bfc
Instruct generator to build ARM64 bindings
3 years ago
Conrad Kreyling
308d6afff0
Fix missing AArch64 entry in CLI CppAbi
3 years ago
Conrad Kreyling
c880be445c
Enable ARM64 support on LLVM builds
3 years ago
Joao Matos
b5ab95e11d
Update iOS64 ABI name to the more accurate AppleARM64.
3 years ago
Joao Matos
d1307a532f
Add support for AArch64 C++ ABI.
3 years ago
deadlocklogic
9071cd2a59
Implement ClassTemplatePartialSpecialization::Parameters ( #1809 )
...
* Implement ClassTemplatePartialSpecialization::Parameters
* Template.cs: Implement ClassTemplatePartialSpecialization.Parameters
* GeneratorKind: fix bug introduced while migrating from enum to class
* Implement native ClassTemplatePartialSpecialization.Parameters + ASTConverter
* regenerated bindings (#1813 )
* regenerated bindings
* regenerated bindings after rebase
* Directory.Build.props: support C# 10.0
* Implement native ClassTemplatePartialSpecialization.Parameters + ASTConverter
* Regenerated bindings
* TestAST.cs: add TestASTClassTemplatePartialSpecialization
3 years ago
deadlocklogic
2ecd9528ff
regenerated bindings ( #1813 )
...
* regenerated bindings
* regenerated bindings after rebase
* Directory.Build.props: support C# 10.0
3 years ago
deadlocklogic
24d1a8491d
Stdlib.CSharp.cs: remove buggy typemap ( #1812 )
3 years ago
deadlocklogic
1327971e25
GeneratorKind: patch bug caused by missing ToString ( #1811 )
3 years ago
Joao Matos
519e97f2da
Remove 32-bit builds and non-debug symbols release builds from LLVM Windows CI.
3 years ago
deadlocklogic
12112720f3
Build llvm `Debug`/`Release` for `Windows`. ( #1800 )
...
* Update llvm-win.yml
* Update llvm-win.yml
* Update llvm-win.yml
3 years ago
zylalx1
12c267d9c4
Fixed a bug causing the header file to be included twice when Options.GenerateName is not null ( #1803 )
3 years ago
deadlocklogic
e068f2a14a
Typemap cleanup ( #1802 )
...
* TypeMap: prepare refactoring into a modular design
* TypeMap: refactor C++ backend into common methods
* TypeMap: refactor CLI backend into common methods
* CLI.Gen.cs: fix omitted typemap from previous commit
* Common.Gen.cs: fixed silly modification while testing
* GeneratorKind: add FindGeneratorKindByID method
* TypeMapDatabase: heavy refactor: group typemaps by GeneratorKind
* TypeMap: refactor CSharp backend into common methods + migration
* TypeMap: cleanup patches from previous commits
* TypeMapDatabase: fix passing GeneratorKind to FindTypeMap calls
* Stdlib.CSharp.cs: move std::map typemap from Stdlib.CLI.cs
* TypeMapDatabase: improve parameter name
3 years ago
deadlocklogic
8c2da6d542
Major refactor: TypePrinter: improve modular design + cleanup ( #1796 )
3 years ago
deadlocklogic
0edd48c6a1
Major refactoring: refactor GeneratorKind enum into a class ( #1794 )
...
* Major refactoring: refactor GeneratorKind enum into a class
* Minor fix: add readonly
* Add Type property for GenerationKind + cleanup
* GeneratorKind: add Name property + refactor hardcoded names
* GeneratorKind: add CLIOptions property + refactor hardcoded options
* CppSharp.CLI: minor fix: use generator.ToLower()
* GeneratorKind: fix warning
3 years ago
deadlocklogic
40f3a09296
Minor improvements ( #1793 )
...
* CppSharp.Generators.Options: added pre/post TranslationUnitPass callback
* CppSharp.Generators.Passes.Pass: added TranslationUnitPassGeneratorDependent
3 years ago
Stefan
b14038ab07
Value types may generate `Dispose` ( #1787 )
3 years ago
João Matos
3b2a15d9f5
Update README.md
3 years ago
Stefan
a5afda8603
Fix parameterless constructors not being generated for structs ( #1783 )
...
* Fix parameterless constructors not being generated for structs
* Fix implicit non-trivial default ctor
* Adjust `Ignore` linked issue
3 years ago
Stefan
b16e809b9e
Introduce `GenerateFreeStandingFunctionsClassName` option ( #1782 )
...
* Introduce `GenerateFreeStandingFunctionsClassName` option
* Support CLI and fixes
3 years ago
Stefan
03874e743f
Fix Value Type String Member Invalid Codegen ( #1778 )
...
* Fix code generation
* Generate exception on broken struct set op
* Remove redundant usings
3 years ago
Salvage
adffc99bc8
Fix erroneous newline
3 years ago
Salvage
b4f261ea38
Simplify `IsTemplateParameterType`
3 years ago
Salvage
28000a14b4
Fix #1251 three parameter equality operator
...
- Operators in generic classes do not attempt to generate as extension methods anymore
- Empty `...Extensions` classes are no longer generated
- `string` as a template argument is correctly cast
- `MarshalCharAsManagedChar` option also generates correct casts
- Suppress warning regarding returning struct field by ref
- Eliminate some tabs that snuck into the test C++ header
3 years ago
Joao Matos
d7faf5f063
Fix SDL_PollEvent generation in the SDL example.
...
Fixes https://github.com/mono/CppSharp/issues/978 .
Thanks to @Saalvage .
3 years ago