root/src/MatlabWrapper.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


#ifndef HALIDE_MATLAB_OUTPUT_H
#define HALIDE_MATLAB_OUTPUT_H

/** \file
 *
 * Provides an output function to generate a Matlab mex API compatible object file.
 */

#include "Module.h"

namespace llvm {
class Module;
class Function;
class Value;
}

namespace Halide {
namespace Internal {

/** Add a mexFunction wrapper definition to the module, calling the
 * function with the name pipeline_name. Returns the mexFunction
 * definition. */
EXPORT llvm::Function *define_matlab_wrapper(llvm::Module *module,
                                             llvm::Function *pipeline_argv_wrapper,
                                             llvm::Function *metadata_getter);

}
}

#endif

/* [<][>][^][v][top][bottom][index][help] */