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