Wipe MaybeGC/ForceGC declaration leftover from 9f0484e5ce
/ D1073.
This was SVN commit r22555.
This commit is contained in:
parent
b9544a2eaa
commit
52d58d9845
@ -308,18 +308,6 @@ public:
|
||||
*/
|
||||
template<typename T> static bool FromJSProperty(JSContext* cx, const JS::HandleValue val, const char* name, T& ret);
|
||||
|
||||
/**
|
||||
* MaybeGC tries to determine whether garbage collection in cx's runtime would free up enough memory to be worth the amount of time it would take.
|
||||
* This calls JS_MaybeGC directly, which does not do incremental GC. Usually you should prefer MaybeIncrementalRuntimeGC.
|
||||
*/
|
||||
void MaybeGC();
|
||||
|
||||
/**
|
||||
* Triggers a full non-incremental garbage collection immediately. That should only be required in special cases and normally
|
||||
* you should try to use MaybeIncrementalRuntimeGC instead.
|
||||
*/
|
||||
void ForceGC();
|
||||
|
||||
/**
|
||||
* MathRandom (this function) calls the random number generator assigned to this ScriptInterface instance and
|
||||
* returns the generated number.
|
||||
|
Loading…
Reference in New Issue
Block a user