! Create a program. * * \param source A string containing either the source filename or * the source itself; in the latter case, the first line must be * the name of the program. * \param headers A vector of strings representing the source of * each header file required by the program. Each entry can be * either the header filename or the header source itself; in
| 3250 | * standard library headers. |
| 3251 | */ |
| 3252 | inline Program program(std::string source, |
| 3253 | jitify::detail::vector<std::string> headers = 0, |
| 3254 | jitify::detail::vector<std::string> options = 0, |
| 3255 | file_callback_type file_callback = 0) { |
| 3256 | return Program(*this, source, headers, options, file_callback); |
| 3257 | } |
| 3258 | }; |
| 3259 | |
| 3260 | inline Program::Program(JitCache& cache, std::string source, |