[coyotos-dev] CapIDL array error?
Jonathan S. Shapiro
shap at eros-os.com
Wed May 28 09:30:38 CDT 2008
Venkatesh:
Quick question. Is that supposed to be "read()"? The name doesn't matter
except to help me understand the intent. CapIDL is clearly doing the
wrong thing here, but if this is intended to be read() then 's' should
be an OUT parameter. And I bet that case is wrong too. I'm about to
check.
shap
On Tue, 2008-05-27 at 22:30 -0400, Venkatesh Srinivas wrote:
> On Tue, May 27, 2008 at 07:55:38AM -0400, Jonathan S. Shapiro wrote:
> >Venkatesh:
> >
> >Can you provide a complete example? This isn't something I can feed to
> >CapIDL to reproduce the problem. It should be simple to create an
> >interface with a single procedure...
>
> package coyotos;
>
> interface test {
> typedef array<unsigned short, 4096> chFoo;
>
> void red(chFoo s);
> };
>
> causes (in test.server.h):
> ...
> __builtin_memcpy(s, &_params.server_in.s, s, sizeof(s[0]) * 4096);
> ...
>
> --vs
> _______________________________________________
> coyotos-dev mailing list
> coyotos-dev at smtp.coyotos.org
> http://www.coyotos.org/mailman/listinfo/coyotos-dev
More information about the coyotos-dev
mailing list