source:
rtems/cpukit/rtems/src/rtemsobjectidgetclass.c
@
a2e3f33
Last change on this file since a2e3f33 was a2e3f33, checked in by Sebastian Huber <sebastian.huber@…>, on 07/24/13 at 11:50:54 | |
---|---|
|
|
File size: 612 bytes |
Rev | Line | |
---|---|---|
[c18e0ba] | 1 | /** |
2 | * @file | |
[6c06288] | 3 | * |
[c18e0ba] | 4 | * @brief Get Class Portion of Object Id |
5 | * @ingroup ClassicClassInfo | |
6 | */ | |
7 | ||
8 | /* | |
[6c06288] | 9 | * COPYRIGHT (c) 1989-2008. |
10 | * On-Line Applications Research Corporation (OAR). | |
11 | * | |
12 | * The license and distribution terms for this file may be | |
13 | * found in the file LICENSE in this distribution or at | |
14 | * http://www.rtems.com/license/LICENSE. | |
15 | */ | |
16 | ||
17 | #ifdef HAVE_CONFIG_H | |
18 | #include "config.h" | |
19 | #endif | |
20 | ||
[a2e3f33] | 21 | #include <rtems/score/objectimpl.h> |
[6c06288] | 22 | |
[a2e3f33] | 23 | /* XXX: This is for language bindings */ |
[fdc57ca] | 24 | int rtems_object_id_get_class( |
[a2e3f33] | 25 | Objects_Id id |
26 | ); | |
27 | ||
28 | int rtems_object_id_get_class( | |
29 | Objects_Id id | |
[6c06288] | 30 | ) |
31 | { | |
32 | return _Objects_Get_class( id ); | |
[05c1886] | 33 | } |
Note: See TracBrowser
for help on using the repository browser.