20.10.2018, 11:48
(
Last edited by IllidanS4; 29/10/2018 at 07:22 PM.
)
PawnPlus v0.10 released!
- Tags ConstString and ConstVariant 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 from ConstString.)
- 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 and var_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 and pawn_call_native with no arguments.
- Fixed argument offset in pawn_register_callback and pawn_add_filter.