Skip to content

Commit e6eea65

Browse files
committed
clarify C calling convention
1 parent 61ef08d commit e6eea65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/genomicsqlite.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
* C bindings
88
*
99
* Convention for all functions returning char*:
10-
* - Return value is always a non-null buffer which must be freed using sqlite3_free()
10+
* - Return value is a buffer which must be freed using sqlite3_free()
1111
* - On success, it's a nonempty, null-terminated string
1212
* - On failure, it's a null byte, followed immediately by a null-terminated error message
13+
* - Null is returned only in an out-of-memory condition
1314
*/
1415

1516
#ifdef __cplusplus

0 commit comments

Comments
 (0)