Skip to content
New issue

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

CamlIDL: methods with [out] arrays #8092

Closed
vicuna opened this issue Apr 6, 2003 · 1 comment
Closed

CamlIDL: methods with [out] arrays #8092

vicuna opened this issue Apr 6, 2003 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Apr 6, 2003

Original bug ID: 1626
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for CamlIDL use https://github.com/xavierleroy/camlidl/issues

Bug description

Looks like there is a bug related to such methods:

[--- test.idl---]
void getArray( [out,size_is(aLen)] byte** a, [out] int* aLen );
/*
works
*/

[
object
]
interface ITest: IUnknown
{
HRESULT getArray( [out,size_is(aLen)] byte** a, [out] int* aLen );
}
/*
does not work:

test.idl
test.idl, function ITest::getArray: Out parameter `a' must be a pointer
*/
[--- end of test.idl ---]

  • Dmitry Bely
@vicuna
Copy link
Author

vicuna commented Jul 8, 2004

Comment author: administrator

User probably meant "[out,size_is(aLen)] byte* a"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant