Added native
is_jit_enabled
This commit is contained in:
		| @@ -302,6 +302,15 @@ static cell AMX_NATIVE_CALL is_linux_server(AMX *amx, cell *params) | |||||||
| #endif | #endif | ||||||
| } | } | ||||||
|  |  | ||||||
|  | static cell AMX_NATIVE_CALL is_jit_enabled(AMX *amx, cell *params)		// PM: Useless ;P | ||||||
|  | { | ||||||
|  | #ifdef JIT | ||||||
|  | 	return 1; | ||||||
|  | #else | ||||||
|  | 	return 0; | ||||||
|  | #endif | ||||||
|  | } | ||||||
|  |  | ||||||
| static cell AMX_NATIVE_CALL is_map_valid(AMX *amx, cell *params)  /* 1 param */ | static cell AMX_NATIVE_CALL is_map_valid(AMX *amx, cell *params)  /* 1 param */ | ||||||
| { | { | ||||||
|   int ilen; |   int ilen; | ||||||
| @@ -2567,6 +2576,7 @@ AMX_NATIVE_INFO amxmod_Natives[] = { | |||||||
|   { "get_xvar_num",     get_xvar_num }, |   { "get_xvar_num",     get_xvar_num }, | ||||||
|   { "is_dedicated_server",is_dedicated_server }, |   { "is_dedicated_server",is_dedicated_server }, | ||||||
|   { "is_linux_server",    is_linux_server }, |   { "is_linux_server",    is_linux_server }, | ||||||
|  |   { "is_jit_enabled",		is_jit_enabled }, | ||||||
|   { "is_user_authorized", is_user_authorized }, |   { "is_user_authorized", is_user_authorized }, | ||||||
|   { "is_map_valid",     is_map_valid }, |   { "is_map_valid",     is_map_valid }, | ||||||
|   { "is_user_alive",    is_user_alive }, |   { "is_user_alive",    is_user_alive }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user