#include <import.hh>
Public Member Functions | |
virtual void | load (std::string const &path, utilmm::config_set const &config, Typelib::Registry ®istry) |
virtual void | load (std::istream &stream, utilmm::config_set const &config, Typelib::Registry ®istry) |
Definition at line 6 of file lang/cimport/import.hh.
void CImport::load | ( | std::string const & | path, |
utilmm::config_set const & | config, | ||
Typelib::Registry & | registry | ||
) | [virtual] |
Load the C file at path
into registry
The available options are:
defines
the define arguments to cpp (-D options) includes
the include arguments to cpp (-I options) rawflags
flags to be passed as-is to cpp debug
output debugging information on stdout, and keep preprocessed output Reimplemented from Typelib::Importer.
Definition at line 121 of file lang/cimport/import.cc.
void CImport::load | ( | std::istream & | stream, |
utilmm::config_set const & | config, | ||
Typelib::Registry & | registry | ||
) | [virtual] |
Import the types defined in stream
into the registry The stream is not passed through cpp
Implements Typelib::Importer.
Definition at line 92 of file lang/cimport/import.cc.