You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your changes will break the interface for getting object property.
The size must always be in bytes and data is always is void_.
In C# side you should convert void_ data to string using property encoder.
<code langu
/*
Gets a property for the specified object and property ID.
Ahh, breaking the interface would be bad. I'm a little concerned that we're talking past each other at the moment though; with the current pre-patch code, when you have an element in your XSD containing:
Thanks for clarifying it,
I will test the CodeGen with getter of type wchar_t* and fix the issue in the next update.
please make a local fix, until I update master branch.
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
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.
I was having some difficulty marshalling a native wide string property into a managed string when I realised the code CodeGenDom was giving me was wrong.
The patch is somewhat self-explanatory - when it's a string, we want to:
Seeing as the repository includes the binaries, I thought about providing rebuilt binaries, but it might be easier to merge without them.