00001 /* 00002 ** libutil++ 00003 ** $Id: initfini.cpp 1197 2014-10-14 22:26:11Z sella $ 00004 ** Copyright (c) 2011-2014 Digital Genesis, LLC. All Rights Reserved. 00005 ** Released under the LGPL Version 2.1 License. 00006 ** http://www.digitalgenesis.com 00007 */ 00008 00009 static const char rcsid[] __attribute__((used)) = "$Id: initfini.cpp 1197 2014-10-14 22:26:11Z sella $"; 00010 00011 #include "sella/util/Log.h" 00012 00013 using namespace sella::util; 00014 00015 extern "C" { 00016 void __attribute__ ((constructor)) libutilxx__init(void) { 00017 libutilxx__log = Log::instance(); 00018 } 00019 00020 void __attribute__ ((destructor)) libutilxx__fini(void) { 00021 } 00022 } 00023 00024 /* 00025 ** vim: noet ts=3 sw=3 00026 */
1.6.1