Function v8_api::read [] [src]

pub fn read<P1, P2>(file_path: P1, extra_includes: &[P2]) -> Api where P1: AsRef<Path>, P2: AsRef<Path>

Reads the V8 API from the given file path pointing to a v8.h file (or a file that includes v8.h), using the specified extra includes if necessary.

Panics

Since this library is supposed to be used in a build script, panics if anything goes wrong whatsoever.