Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Various cleanups in the generation of simgrid.jar
[simgrid.git] / src / mc / Variable.hpp
index ec1e071..8bae0c7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2014. The SimGrid Team.
+/* Copyright (c) 2007-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -33,6 +33,18 @@ public:
   simgrid::mc::ObjectInformation* object_info;
 };
 
+inline
+Variable::Variable()
+{
+  this->dwarf_offset = 0;
+  this->global = 0;
+  this->type = nullptr;
+  this->type_id = 0;
+  this->address = nullptr;
+  this->start_scope = 0;
+  this->object_info = nullptr;
+}
+
 }
 }