We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrated from rt.perl.org#127237 (status was 'open')
Searchable as RT127237$
The text was updated successfully, but these errors were encountered:
The following should apply the same marshalling as passing a Str to a native function.
Example:
use NativeCall;
class Foo is repr('CStruct') { has Str $.bar is encoded('utf16'); };
Error: Can't use unknown trait 'is encoded' in an attribute declaration.
Sorry, something went wrong.
Le Lun 11 Jan 2016 06:05:49, drako@drako.guru a écrit :
The following should apply the same marshalling as passing a Str to a native function. Example: use NativeCall; class Foo is repr('CStruct') { has Str $.bar is encoded('utf16'); }; Error: Can't use unknown trait 'is encoded' in an attribute declaration.
I am not sure we want to keep the 'encoded' name for Attribute, since it's just the encoding destined for the Native lib.
The RT System itself - Status changed from 'new' to 'open'
Am Mo 11. Jan 2016, 06:18:41, scolinet@gmail.com schrieb:
Le Lun 11 Jan 2016 06:05:49, drako@drako.guru a écrit : The following should apply the same marshalling as passing a Str to a native function. Example: use NativeCall; class Foo is repr('CStruct') { has Str $.bar is encoded('utf16'); }; Error: Can't use unknown trait 'is encoded' in an attribute declaration. I am not sure we want to keep the 'encoded' name for Attribute, since it's just the encoding destined for the Native lib.
sure, but that change should also be consistent accross CStruct, CUnion and function calls.
No branches or pull requests
Migrated from rt.perl.org#127237 (status was 'open')
Searchable as RT127237$
The text was updated successfully, but these errors were encountered: