Branch: Tag:

2020-11-10

2020-11-10 16:14:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentatation: Document lfun::_atomic_get_set().

Also adds FIXMEs for some undocumented lfuns.

1123:    *! object to @[value].    *!    *! @seealso -  *! @[predef::`[]=()], @[lfun::`->=()] +  *! @[predef::`[]=()], @[lfun::`->=()], @[lfun::_atomic_get_set()]    */      /*! @decl mixed lfun::`->(string index, object|void context, int|void access)
1192:    *! object to @[value].    *!    *! @seealso -  *! @[predef::`->=()], @[::`->=()], @[lfun::`[]=()] +  *! @[predef::`->=()], @[::`->=()], @[lfun::`[]=()], +  *! @[lfun::_atomic_get_set()]    */      /*! @decl int lfun::_sizeof()
1647:    *! Called by @[reverse()].    */    + /* FIXME: lfun::next() */ + /* FIXME: lfun::index() */ + /* FIXME: lfun::prev() */ +  + /*! @decl mixed _atomic_get_set(mixed index, mixed value) +  *! +  *! Get and set the value for an index atomically. +  *! +  *! @param index +  *! Index for which to get and set the value. +  *! +  *! @param value +  *! Value to set. +  *! +  *! @returns +  *! Returns the previous value at index @[index]. +  *! +  *! @seealso +  *! @[lfun::`->=()], @[lfun::`[]=()], @[atomic_get_set()], +  *! @[lfun::_m_delete()], @[lfun::`[]()], @[lfun::`->()] +  */ +    /**** END FAKE LFUNS ****/   /**** BEGIN MAGIC LFUNS ****/