Files
GS13NG/datum/stack_canary.html
2025-02-05 06:19:18 +00:00

1 line
1.9 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/stack_canary - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/stack_canary.html#proc">Proc Details</a></header><main><h1>stack_canary <aside>/<a href="datum.html">datum</a>/<a href="datum/stack_canary.html">stack_canary</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/helper_datums/stack_end_detector.dm#L29"><img src="git.png" width="16" height="16" title="code/datums/helper_datums/stack_end_detector.dm 29"></a></h1><p>Stack canary. Will go away if the stack it was primed by is ended by byond for return or stack overflow reasons.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/stack_canary.html#proc/use_variable">use_variable</a></th><td>empty proc to avoid warnings about unused variables. Call this proc on your canary in the stack it's watching.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/use_variable"><aside class="declaration">proc </aside>use_variable<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/helper_datums/stack_end_detector.dm#L32"><img src="git.png" width="16" height="16" title="code/datums/helper_datums/stack_end_detector.dm 32"></a></aside></h3><p>empty proc to avoid warnings about unused variables. Call this proc on your canary in the stack it's watching.</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>