Skip to content
Snippets Groups Projects
Commit 71953a07 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix mesh type declaration

parent 76f5c2b8
Branches
Tags
1 merge request!37Feature/language
...@@ -16,9 +16,6 @@ ...@@ -16,9 +16,6 @@
#include <array> #include <array>
#include <cstdio> #include <cstdio>
template <>
inline ASTNodeDataType ast_node_data_type_from<std::shared_ptr<IMesh>> = {ASTNodeDataType::type_id_t, "mesh"};
template <typename T> template <typename T>
class MeshTransformation; class MeshTransformation;
template <typename OutputType, typename... InputType> template <typename OutputType, typename... InputType>
......
...@@ -2,8 +2,14 @@ ...@@ -2,8 +2,14 @@
#define MESH_MODULE_HPP #define MESH_MODULE_HPP
#include <language/modules/BuiltinModule.hpp> #include <language/modules/BuiltinModule.hpp>
#include <language/utils/ASTNodeDataTypeTraits.hpp>
#include <utils/PugsMacros.hpp> #include <utils/PugsMacros.hpp>
struct IMesh;
template <>
inline ASTNodeDataType ast_node_data_type_from<std::shared_ptr<IMesh>> = {ASTNodeDataType::type_id_t, "mesh"};
class MeshModule : public BuiltinModule class MeshModule : public BuiltinModule
{ {
public: public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment