From 5af1db98615d00e206f6e0fa4964355045d4ae52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Fri, 28 Jun 2002 09:58:30 +0000 Subject: [PATCH] *** empty log message *** [r420] --- ir/ident/ident.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ir/ident/ident.h b/ir/ident/ident.h index 60623777a..cf13d2f8a 100644 --- a/ir/ident/ident.h +++ b/ir/ident/ident.h @@ -39,9 +39,10 @@ typedef const struct set_entry ident; * NAME * id_from_str - store a string and create an ident * SYNOPSIS - * ident *id = id_from_str (char *str, int len); + * ident *id = id_from_str (const char *str, int len); * FUNCTION * Stores a string in the ident module and returns a handle for the string. + * Copies the string. * INPUTS * str - the string (or whatever) which shall be stored * len - the length of the data in bytes @@ -61,7 +62,7 @@ inline ident *id_from_str (const char *str, int len); * char *cp = id_to_str (ident *id); * FUNCTION * Returns the string cp represented by id. This string cp is not - * Null terminated! + * Null terminated! The string may not be changed. * INPUTS * id - the ident * RESULT -- 2.20.1