summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/eo_generate.hh
blob: 97e53bb9dc25625a7b154ebb1306a0e405eea3f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#ifndef EOLIAN_CXX_EO_GENERATE_HH
#define EOLIAN_CXX_EO_GENERATE_HH

#include <iosfwd>

#include "eo_types.hh"
#include "grammar/eo_header_generator.hh"

namespace efl { namespace eolian {

inline void
generate(std::ostream& header_decl,
         std::ostream& header_impl,
         eo_class const& cls,
         eo_generator_options const& opts)
{
   grammar::eo_headers_generator(header_decl, header_impl, cls, opts);
}

} }

#endif // EOLIAN_CXX_EO_GENERATE_HH