Skip to content

Commit 0c3ef44

Browse files
committed
Fixed comment
1 parent ad98633 commit 0c3ef44

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/core/a-lib.c

+8-3
Original file line numberDiff line numberDiff line change
@@ -1204,15 +1204,20 @@ RL_API REBCNT RL_Decode_UTF8_Char(const REBYTE *str, REBCNT *len)
12041204
**
12051205
*/ RL_API REBCNT RL_Register_Handle_Spec(REBYTE *name, REBHSP *spec)
12061206
/*
1207-
** Stores handle's specification (required data size and optional free callback.
1207+
** Stores handle's specification (required data size and optional callbacks).
1208+
** It's an extended version of old RL_Register_Handle function.
12081209
**
12091210
** Returns:
12101211
** symbol id of the word (whether found or new)
12111212
** or NOT_FOUND if handle with give ID is already registered.
12121213
** Arguments:
12131214
** name - handle's name as a c-string (length is being detected)
1214-
** size - size of needed memory to handle
1215-
** free_func - custom function to be called when handle is released
1215+
** spec - Handle's specification:
1216+
** * size of needed memory to handle,
1217+
** * reserved flags
1218+
** * release function
1219+
** * get path accessor
1220+
** * set path accessor
12161221
**
12171222
***********************************************************************/
12181223
{

0 commit comments

Comments
 (0)