oil: stub out more of the header in AoT mode

This commit is contained in:
Jake Hillion 2023-01-25 06:31:29 -08:00 committed by Jake Hillion
parent 01abff9019
commit 499b8c6f74

View File

@ -79,6 +79,8 @@ enum Response : int {
OIL_UNINITIALISED = 7,
};
#ifndef OIL_AOT_COMPILATION
struct options {
std::string configFilePath{};
std::string debugFilePath{};
@ -234,6 +236,8 @@ int getObjectSize(T *ObjectAddr, size_t *ObjectSize, const options &opts,
checkOptions);
}
#endif
/*
* You may only call this after a call to the previous signature, or a
* call to CodegenHandler<T>::init(...) for the used type.