Changeset e25611d in rtems


Ignore:
Timestamp:
Nov 23, 2009, 2:53:28 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
ea6eb431
Parents:
fdc57ca
Message:

2009-11-23 Joel Sherrill <joel.sherrill@…>

PR 1460/cpukit

  • user/object.t: Change return type on methods accessing portions of RTEMS Ids to int. This allows -1 to be return on error.
Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    rfdc57ca re25611d  
     12009-11-23      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        PR 1460/cpukit
     4        * user/object.t: Change return type on methods accessing portions of
     5        RTEMS Ids to int. This allows -1 to be return on error.
     6
    172009-11-09      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • doc/user/object.t

    rfdc57ca re25611d  
    149149void prettyPrintObjectId(rtems_id id)
    150150@{
    151   uint32_t tmpAPI, tmpClass;
     151  int tmpAPI, tmpClass;
    152152
    153153  tmpAPI   = rtems_object_id_get_api(id),
     
    381381@findex rtems_object_id_get_api
    382382@example
    383 uint32_t rtems_object_id_get_api(
     383int rtems_object_id_get_api(
    384384  rtems_id id
    385385);
     
    423423@findex rtems_object_id_get_class
    424424@example
    425 uint32_t rtems_object_id_get_class(
     425int rtems_object_id_get_class(
    426426  rtems_id id
    427427);
     
    465465@findex rtems_object_id_get_node
    466466@example
    467 uint32_t rtems_object_id_get_node(
     467int rtems_object_id_get_node(
    468468  rtems_id id
    469469);
     
    507507@findex rtems_object_id_get_index
    508508@example
    509 uint32_t rtems_object_id_get_index(
     509int rtems_object_id_get_index(
    510510  rtems_id id
    511511);
     
    550550@example
    551551rtems_id rtems_build_id(
    552   uint32_t the_api,
    553   uint32_t the_class,
    554   uint32_t the_node,
    555   uint32_t the_index
     552  int the_api,
     553  int the_class,
     554  int the_node,
     555  int the_index
    556556);
    557557@end example
     
    599599@findex rtems_object_id_api_minimum
    600600@example
    601 uint32_t rtems_object_id_api_minimum(void);
     601int rtems_object_id_api_minimum(void);
    602602@end example
    603603@end ifset
     
    635635@findex rtems_object_id_api_maximum
    636636@example
    637 uint32_t rtems_object_id_api_maximum(void);
     637int rtems_object_id_api_maximum(void);
    638638@end example
    639639@end ifset
     
    671671@findex rtems_object_api_minimum_class
    672672@example
    673 uint32_t rtems_object_api_minimum_class(
    674   uint32_t api
     673int rtems_object_api_minimum_class(
     674  int api
    675675);
    676676@end example
     
    715715@findex rtems_object_api_maximum_class
    716716@example
    717 uint32_t rtems_object_api_maximum_class(
    718   uint32_t api
     717int rtems_object_api_maximum_class(
     718  int api
    719719);
    720720@end example
     
    761761@example
    762762const char *rtems_object_get_api_name(
    763   uint32_t api
     763  int api
    764764);
    765765@end example
     
    807807@example
    808808const char *rtems_object_get_api_class_name(
    809   uint32_t the_api,
    810   uint32_t the_class
     809  int the_api,
     810  int the_class
    811811);
    812812@end example
     
    858858@example
    859859rtems_status_code rtems_object_get_class_information(
    860   uint32_t                            the_api,
    861   uint32_t                            the_class,
     860  int                                 the_api,
     861  int                                 the_class,
    862862  rtems_object_api_class_information *info
    863863);
     
    895895  rtems_id  minimum_id;
    896896  rtems_id  maximum_id;
    897   uint32_t  maximum;
     897  int       maximum;
    898898  bool      auto_extend;
    899   uint32_t  unallocated;
     899  int       unallocated;
    900900@} rtems_object_api_class_information;
    901901@end example
Note: See TracChangeset for help on using the changeset viewer.