ONE means a pointer that always refers to a single object, similar to a C++
reference.
http://docs.tinyos.net/index.php/Safe_TinyOS

On Thu, May 19, 2011 at 2:27 AM, 崔晓宗 <[email protected]> wrote:

> ctp_routing_header_t* getHeader(message_t* ONE m) {
>       return (ctp_routing_header_t*)call BeaconSend.getPayload(m, call
> BeaconSend.maxPayloadLength());
>  }
>
> The code above is from Collection Tree Protocol.
> What does the 'ONE' mean? Can anyone explain the parameter ( message_t* ONE
> m ) for me? Thanks.
>
> --
> Regards,
> Xiaozong Cui
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
-Xiaohui Liu
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to