PawnPlus v0.10.1
Pre-release
Pre-release
v0.10.1
pp_max_recursion
to prevent crashes related to native recursion.task_bind
returns the immediate result if it is available.- A task scheduled to be completed after 0-length time interval will be still executed in the current tick, but postponed after all other code.
task_config
to control which sections of the memory should be stored.- Finishing a task after a time interval:
task_set_result_ms
,task_set_result_ticks
,task_set_error_ms
,task_set_error_ticks
.
v0.10.0
- Tags
ConstString
andConstVariant
have been introduced to better distinguish functions which shall not modify the input object. Their use in code is optional. (Note about tag inheritance:String
inherits fromConstString
.) - Added
task_bind
to create a task from a public function. - All native functions now check for the correct argument count.
PP_ALL_TAGS
may be defined for compilers which support tag wildcard.- Tag instances store their operations with them, so indexing a map is no longer needed when calling operations dynamically. The unknown tag (now with the internal representation of
{...}
) is the base of all other tags. var_inc
andvar_dec
are finally implemented, together with the operator overloads. Dynamically defining or calling these operations now also works.- Dynamically defined tag operations (
tag_set_op
) cache the public function index, making them a lot faster. - Fixed calling
pawn_call_public
andpawn_call_native
with no arguments. - Fixed argument offset in
pawn_register_callback
andpawn_add_filter
.