Add state saving functions and update processTrace accordingly.
[lttv.git] / ltt / branches / poly / lttv / attribute.c
index 59241fb3e815cfc67862f6b52ec942de0ef81753..4b6938d7da86c1e04ec077e1353e2d662e2b3c32 100644 (file)
@@ -9,7 +9,7 @@ typedef union _AttributeValue {
   unsigned long dv_ulong;
   float dv_float;
   double dv_double;
-  LttvTime dv_time;
+  LttTime dv_time;
   gpointer dv_pointer;
   char *dv_string;
   GObject *dv_gobject;
@@ -274,7 +274,7 @@ void lttv_attribute_recursive_add(LttvAttribute *dest, LttvAttribute *src)
           *value.v_double += a->value.dv_double;
           break;
         case LTTV_TIME:
-          TimeAdd(*value.v_time, *value.v_time, a->value.dv_time);
+          *value.v_time = ltt_time_add(*value.v_time, a->value.dv_time);
           break;
         case LTTV_POINTER:
           break;
This page took 0.023409 seconds and 4 git commands to generate.