Skip to content

Commit f75d474

Browse files
authored
Merge pull request google#257 from sparkprime/docs_null_term
Fix google#256
2 parents de9b782 + 0971193 commit f75d474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/libjsonnet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void jsonnet_import_callback(struct JsonnetVm *vm, JsonnetImportCallback *cb, vo
177177
* \param name The name of the function as visible to Jsonnet code, e.g. "foo".
178178
* \param cb The PURE function that implements the behavior you want.
179179
* \param ctx User pointer, stash non-global state you need here.
180-
* \param params The names of the params. Must be valid Jsonnet identifiers.
180+
* \param params NULL-terminated array of the names of the params. Must be valid identifiers.
181181
*/
182182
void jsonnet_native_callback(struct JsonnetVm *vm, const char *name, JsonnetNativeCallback *cb,
183183
void *ctx, const char * const *params);

0 commit comments

Comments
 (0)