mirror of
https://github.com/ldmud/ldmud
synced 2026-08-12 14:26:05 -04:00
Removed the efuns set_limits() and query_limits() in favor of the new configure_driver() and driver_info. (Issue #596)
14 lines
357 B
C
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
|