Another pack of improvements to daScript/daScriptBind.h#1567
Merged
Conversation
1. Now ADD_FUN/METHOD_BIND will automatically select appropriate simulation node: SimNode_ExtFuncCallRef if result is a reference, SimNode_ExtFuncCall otherwise (In case of returning by value it is still up to the user, attempt to determine this automatically too by using has_cast has shown that it is not viable)
2. DAS_MODULE_DECL_EX can now accept several include paths, each of them can contain quotes (either " or <) or not (" used by default)
3. Rework asserting stub, it will now not link copy constructor, and will always crash after assert by calling nullptr instead of returning garbage and possibly continue execution
4. Fixed DAS_ADD_USING_BIND
Change-Id: I0eeac047b60d72f03ebe9009ae0dd8b9782f0419
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change-Id: I0eeac047b60d72f03ebe9009ae0dd8b9782f0419