pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:2770:    }   #endif /* PIKE_DEBUG */    out = low_end_shared_string(out);   #ifdef PIKE_DEBUG    check_string (out);   #endif    pop_n_elems(args);    push_string(out);   }    - /*! @decl string validate_utf8(utf8_string s) -  *! @decl string validate_utf8(utf8_string s, int extended) + /*! @decl int(0..1) validate_utf8(utf8_string s) +  *! @decl int(0..1) validate_utf8(utf8_string s, int extended)    *!    *! Checks whether a string is a valid UTF-8 byte-stream.    *!    *! @param s    *! String of UTF-8 encoded data to validate.    *!    *! @param extended    *! Bitmask with extension options.    *! @int    *! @value 1
pike.git/src/builtin_functions.c:2926:    }       if (!(extended & 1) && expect_low_surrogate) {    ret = 0;    }       pop_n_elems(args);    push_int(ret);   }    - /*! @decl int(..1) deprecated_typep(type t) + /*! @decl int(0..1) deprecated_typep(type t)    *!    *! Checks if the supplied type has the "deprecated" attribute. This would    *! generally only be true in static types of identifiers that have been    *! marked as __deprecated__.    *!    *! @returns    *! @expr{1@} if the type has the "deprecated" attribute,    *! @expr{0@} otherwise.    */   PMOD_EXPORT void f_deprecated_typep(INT32 args)