pike.git / CHANGES

version» Context lines:

pike.git/CHANGES:92:      o Stricter type checker for function calls.       The type checker for function calls is now based on the concept of    currification. This should provide for error messages that are more    easily understood. It also is much better att typechecking function    calls utilizing the splice (@) operator. The mechanisms used by the    typechecker are also made available as Pike.get_first_arg_type(),    Pike.low_check_call() and Pike.get_return_type().    - o Added generic attributes for types. -  -  Provides a method to hook into the type checker, so that it is -  possible to make custom type checking. -  +    o Stricter typing of strings.       The string type may now have an optional value range.       string(0..255) bytes;      o Support for having multiple different active backend implementations.    FIXME: example?      o cpp
pike.git/CHANGES:179:       Example:    class A    {    extern int a;    int dummy() { return ++a; }    }      o __attribute__ and __deprecated__    -  It's now possible to set custom attributes on types. This is -  currently used to improve the argument checking for sprintf() -  and related functions, and for marking symbols as deprecated. +  It's now possible to set custom attributes on types, so that +  it is possible to make custom type checking. This is currently +  used to improve the argument checking for sprintf() and related +  functions, and for marking symbols as deprecated.    eg:       __deprecated__ mixed obsolete_function();    __deprecated__(mixed) obsolete_return_value();    mixed fun(__deprecated__(mixed) obsolete_arg);    __deprecated__(mixed) obsolete_variable;       The deprecated type flag using __deprecated__ is a convenience    syntax to use instead of e.g.