From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 25-Jun-2010 20:06 UTC |
XDCspec - @Prefix
This module defines a custom prefix
| @Prefix("pfx") |
By default, the "short" prefix used to reference a module's methods is the module's name (without the package prefix) followed by a single underscore ('_'). For example, the short name of the ti.sysbios.knl.Task module's create method is Task_setPri. The Prefix attribute causes an additional set of short names to be defined in which even the module prefix is absent; if the ti.sysbios.knl.Task module specified Prefix("t_") attribute, rather then reference Task_setPri(), clients could also reference t_setPri().
The @GlobalNames attribute has the effect you would expect from @Prefix("").
[printable version] [offline version] | offline version generated on 25-Jun-2010 20:06 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved