X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Fevents.h;h=2bf9c62d7a971f322b14a3c0e6884f91e2fe7538;hp=4232feb3cd202c7ea118cf45333aad1b71d3faea;hb=b330165c14cce30cc7e97b27bc113194ec4fdd9b;hpb=63dd3817d2f75681ece99d683e4944e66e4153a2 diff --git a/include/babeltrace/ctf/events.h b/include/babeltrace/ctf/events.h index 4232feb3..2bf9c62d 100644 --- a/include/babeltrace/ctf/events.h +++ b/include/babeltrace/ctf/events.h @@ -182,7 +182,7 @@ int bt_ctf_get_array_len(const struct definition *field); * * If the field does not exist or is not of the type requested, the value * returned is undefined. To check if an error occured, use the - * bt_ctf_field_error() function after accessing a field. + * bt_ctf_field_get_error() function after accessing a field. */ uint64_t bt_ctf_get_uint64(const struct definition *field); int64_t bt_ctf_get_int64(const struct definition *field); @@ -190,7 +190,7 @@ char *bt_ctf_get_char_array(const struct definition *field); char *bt_ctf_get_string(const struct definition *field); /* - * bt_ctf_field_error: returns the last error code encountered while + * bt_ctf_field_get_error: returns the last error code encountered while * accessing a field and reset the error flag. * Return 0 if no error, a negative value otherwise. */