Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(java): ref<> and object<> redesign
Added: ref<> now fully supports incomplete element_type. Among other things, this improves compilation speed x10 with new Java API generated headers (version 2.0), which forward declare parameter types, instead of including full definitions. Fixed: ref<> now supports all type conversions allowed by corresponding Java types, including array conversions. This also works for converting between generated and manually defined element types: ref<java::lang::RuntimeException> e; // generated ref<java::lang::Throwable> e2 = e; // generated ref<throwable> e3 = e; // manually defined
- Loading branch information
1 parent
72f3c33
commit a66a6ad
Showing
33 changed files
with
839 additions
and
523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
scapix/detail/warning/pop.h | ||
Copyright (c) 2019-2023 Boris Rasin (boris@scapix.com) | ||
*/ | ||
|
||
#if defined(_MSC_VER) | ||
#pragma warning(push) | ||
#pragma warning(disable: 4584) // 'class1' : base-class 'class2' is already a base-class of 'class3' | ||
#endif | ||
|
||
#if defined(__GNUG__) || defined(__clang__) | ||
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Winaccessible-base" | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
scapix/detail/warning/pop.h | ||
Copyright (c) 2019-2023 Boris Rasin (boris@scapix.com) | ||
*/ | ||
|
||
#if defined(_MSC_VER) | ||
#pragma warning(pop) | ||
#endif | ||
|
||
#if defined(__GNUG__) || defined(__clang__) | ||
#pragma GCC diagnostic pop | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.