Mercurial > fem-fenics-eugenio
diff src/mesh.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 | 41614aa82191 |
line wrap: on
line diff
--- a/src/mesh.h Sat Aug 03 14:32:33 2013 +0200 +++ b/src/mesh.h Sat Aug 03 14:37:09 2013 +0200 @@ -61,5 +61,8 @@ DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA; }; - static bool mesh_type_loaded = false; +static bool mesh_type_loaded = false; + +DEFINE_OCTAVE_ALLOCATOR (mesh); +DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (mesh, "mesh", "mesh"); #endif