MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | mixed get_ simul_efun(void) // 3.2 |
| 3 | string|string* get_simul_efun(void) // 3.2.1 |
| 4 | |
| 5 | DESCRIPTION |
| 6 | Load the simul_efun object(s) and return one or more paths of it. |
| 7 | // Note that the object(s) must be loaded by this function! |
| 8 | // |
| 9 | // When you return an array of strings, the first string is taken as path |
| 10 | // to the simul_efun object, and all other paths are used for backup |
| 11 | // simul_efun objects to call simul_efuns that are not present in the |
| 12 | // main simul_efun object. This allows to remove simul_efuns at runtime |
| 13 | // without getting errors from old compiled programs that still use the |
| 14 | // obsolete simul_efuns. A side use of this mechanism is to provide |
| 15 | // a 'spare' simul_efun object in case the normal one fails to load. |
| 16 | // |
| 17 | Should return either the object_name of the simul_efun object as |
| 18 | a string, or an array containing as first element a string |
| 19 | with the file name of the simul_efun object and the following |
| 20 | elements strings with file names of alternate simul_efun |
| 21 | objects that will be used if the first one cannot be loaded. |
| 22 | |
| 23 | SEE ALSO |
| 24 | simul_efun(C) |