commit | b4c41eb66ffe4b704ba7238a305b816cbe76fda5 | [log] [tgz] |
---|---|---|
author | Arathorn <arathorn@mg.mud.de> | Wed Jun 14 22:29:05 2023 +0200 |
committer | Zesstra <zesstra@zesstra.de> | Mon Aug 28 20:19:33 2023 +0200 |
tree | 3eaa40f15f55e5b41955293ed2b3c9bd4acad32d | |
parent | e121a2e7db952ec816d5189e3d1c012fcd31ac72 [diff] [blame] |
Autoloader-Abfrage in der Autoloadertruhe Change-Id: If633192d24cbe000858152c6663b269ba8c9cb30
diff --git a/d/seher/haeuser/moebel/autoloadertruhe.c b/d/seher/haeuser/moebel/autoloadertruhe.c index 7ffe8f2..e83a241 100644 --- a/d/seher/haeuser/moebel/autoloadertruhe.c +++ b/d/seher/haeuser/moebel/autoloadertruhe.c
@@ -1013,3 +1013,10 @@ mixed testfun() {return "bin da\n";} +public int HasAutoloader(string uuid, string loadname) { + if (!sizeof(uuid) || !sizeof(loadname) || clonep() || !(uuid in data)) + return -1; + + return (loadname in data[uuid]); +} +