pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:4131:    *! Include annotations recursively added via inherits.    *!    *! @returns    *! The order of the resulting array is the same as that of @[indices()]    *! for the same @[x].    *!    *! @note    *! This function was added in Pike 8.1.    *!    *! @seealso -  *! @[indices()], @[values()], @[types()] +  *! @[indices()], @[values()], @[types()], @[lfun::_annotations()], +  *! @[::_annotations()]    */   PMOD_EXPORT void f_annotations(INT32 args)   {    ptrdiff_t size;    struct array *a = NULL;    struct pike_type *default_type = mixed_type_string;    struct svalue *arg = NULL;    ptrdiff_t flags = 0;       get_all_args("annotations", args, "%*.%i", &arg, &flags);