Explorar el Código

DebugObject: make DebugObject_Access take a const pointer

ambrop7 hace 15 años
padre
commit
9507e6141b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      system/DebugObject.h

+ 2 - 2
system/DebugObject.h

@@ -66,7 +66,7 @@ static void DebugObject_Free (DebugObject *obj);
  * 
  * @param obj the object
  */
-static void DebugObject_Access (DebugObject *obj);
+static void DebugObject_Access (const DebugObject *obj);
 
 /**
  * Does nothing.
@@ -119,7 +119,7 @@ void DebugObject_Free (DebugObject *obj)
     #endif
 }
 
-void DebugObject_Access (DebugObject *obj)
+void DebugObject_Access (const DebugObject *obj)
 {
     ASSERT(obj->c == DEBUGOBJECT_VALID)
 }