/* This function will judge the object is system object or not. Normally, the system object is a static object and the type of object set to RT_Object_Class_Static. */
rt_bool_t rt_object_is_systemobject(rt_object_t object)
/* This function will judge the object is system object or not. Normally, the system object is a static object and the type of object set to RT_Object_Class_Static. */
rt_bool_t rt_object_is_systemobject(rt_object_t object)
{
    RT_ASSERT(object != RT_NULL);
    if (object->type & RT_Object_Class_Static)
        return RT_TRUE;
    return RT_FALSE;
}