[coyotos-dev] CapIDL array error?

Jonathan S. Shapiro shap at eros-os.com
Tue May 27 06:55:38 CDT 2008


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...

shap

On Mon, 2008-05-26 at 10:57 -0400, Venkatesh Srinivas wrote:
> Hi coyotos-dev,
> 
> When I try to use the CapIDL array type, I get invalid generated code in
> my .server.h file.
> 
> Specifically:
>    typedef array<unsigned short, 4096> chBuf;
> 
> Caused this to appear: 
> (in .server.h, in the demarshall function for a method accepting a chBuf)
>    ...
>    coyotos_driver_AudioDevice_chBuf s;
>    __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