Issue #2692 - Part 7: De-globalize {*}CompileOptions.

Make all users of the various *CompileOptions classes #include "js/CompileOptions.h"
so that nothing but that file has to know about these classes having a
JS_PUBLIC_API on them, that would have to be present in forward-declarations.
This commit is contained in:
Moonchild 2025-03-05 04:09:03 +01:00 • committed by roytam1
commit 5fd304507d
27 changed files with 89 additions and 52 deletions

View file

@ -162,6 +162,8 @@ class JS_FRIEND_API(TransitiveCompileOptions)
void operator=(const TransitiveCompileOptions&) = delete;
};
class JS_PUBLIC_API(CompileOptions);
/**
* The class representing a full set of compile options.
*