diff src/functionspace.h @ 80:16ccfaf1476a

The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA are now implemented in the header file. * Makefile.in: the link between different .o file is no longer needed. * *.h: now implement the method described above. * fem_init_env.cc: include the *.h and use the function defined here instead of linking them at compile time
author gedeone-octave <marcovass89@hotmail.it>
date Sat, 03 Aug 2013 14:37:09 +0200
parents fca8c3d75036
children 5fe2a157f4eb
line wrap: on
line diff
--- a/src/functionspace.h	Sat Aug 03 14:32:33 2013 +0200
+++ b/src/functionspace.h	Sat Aug 03 14:37:09 2013 +0200
@@ -60,5 +60,10 @@
   DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA;
 
 };
-  static bool functionspace_type_loaded = false;
+
+static bool functionspace_type_loaded = false;
+
+DEFINE_OCTAVE_ALLOCATOR (functionspace);
+DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (functionspace, "functionspace", "functionspace");
+
 #endif