Fixed some minor errors.

This commit is contained in:
David Anderson 2004-06-24 06:59:16 +00:00
parent ab03ce077e
commit 553f1872a5
2 changed files with 1 additions and 7 deletions

View File

@ -46,10 +46,7 @@ native dbi_nextrow(_result=1);
*/ */
native dbi_field(_result, _fieldnum, {Float,_}:... ); native dbi_field(_result, _fieldnum, {Float,_}:... );
/* Gets a field by number. Returns 0 on failure. /* Gets a field by name. Returns 0 on failure.
* Although internally fields always start from 0,
* This function takes fieldnum starting from 1.
* No extra params: returns int
* One extra param: returns Float: byref * One extra param: returns Float: byref
* Two extra param: Stores string with length * Two extra param: Stores string with length
*/ */

View File

@ -63,9 +63,6 @@ native set_offset_float(id, offset, Float:value);
native set_offset_short(id, offset, value); native set_offset_short(id, offset, value);
native set_offset_char(id, offset, value); native set_offset_char(id, offset, value);
/* Get entity pointer into string pointer[]. If pointer/len is 0 pointer is returned as integer. */
native get_entity_pointer(index, pointer[] = 0, len = 0);
/* Precaches any file. */ /* Precaches any file. */
native precache_generic(szFile[]); native precache_generic(szFile[]);
/* Precaches an event. */ /* Precaches an event. */