[][src]Function gojsonnet_sys::jsonnet_evaluate_snippet_stream

pub unsafe extern "C" fn jsonnet_evaluate_snippet_stream(
    vm: *mut JsonnetVm,
    filename: *const c_char,
    snippet: *const c_char,
    error: *mut c_int
) -> *mut c_char

Evaluate a string containing Jsonnet code, return a number of JSON files.

The returned character buffer contains several strings. It should be cleaned up with jsonnet_realloc.

\param filename Path to a file containing Jsonnet code. \param snippet Jsonnet code to execute. \param error Return by reference whether or not there was an error. \returns Either the error, or a sequence of strings separated by \0, terminated with \0\0.