ldmud/mudlib/deprecated/query_limits.c
Alexander Motzkau be40553319 Removed the efuns set_limits and query_limits
Removed the efuns set_limits() and query_limits() in favor
of the new configure_driver() and driver_info. (Issue #596)
2016-01-25 23:41:23 +01:00

14 lines
357 B
C

/* This sefun is to provide a replacement for the efun query_limits().
* Feel free to add it to your mudlibs, if you have much code relying on that.
*/
#if ! __EFUN_DEFINED__(query_limits)
#include <driver_info.h>
varargs int* query_limits(int def)
{
return efun::driver_info(def ? DC_DEFAULT_RUNTIME_LIMITS : DI_CURRENT_RUNTIME_LIMITS);
}
#endif