Lines Matching defs:documentation
5 * copy of this software and associated documentation files (the "Software"),
284 {LispMacro, Lisp_Defconstant, "defconstant name initial-value &optional documentation"},
289 {LispMacro, Lisp_Defparameter, "defparameter name initial-value &optional documentation"},
290 {LispMacro, Lisp_Defvar, "defvar name &optional initial-value documentation"},
304 {LispFunction, Lisp_Documentation, "documentation symbol type"},
582 {LispFunction, Lisp_XeditDocumentationStore, "lisp::documentation-store symbol type string", 0, 1},
3607 LispAddDocumentation(LispObj *symbol, LispObj *documentation, LispDocType_t type)
3614 if (!SYMBOLP(symbol) || !STRINGP(documentation))
3618 if (atom->documentation[type])
3621 /* allocate documentation in atomseg */
3624 length = STRLEN(documentation);
3626 memcpy(string, THESTR(documentation), length);
3636 atom->documentation[type] = object;
3649 if (atom->documentation[type]) {
3651 free(THESTR(atom->documentation[type]));
3652 CDR(atom->documentation[type]) = atomseg.freeobj;
3653 atomseg.freeobj = atom->documentation[type];
3654 atom->documentation[type] = NULL;
3669 return (atom->documentation[type] ? atom->documentation[type] : NIL);