Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Charlotte <[email protected]>
  • Loading branch information
whitequark and charlottia authored Oct 9, 2023
1 parent ac2023c commit 1b39544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/cxxrtl/cxxrtl_capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ int64_t cxxrtl_attr_get_signed_int(cxxrtl_attr_set attrs, const char *name);
// are disabled, returns NULL if the attribute is missing or has an incorrect type.
const char *cxxrtl_attr_get_string(cxxrtl_attr_set attrs, const char *name);

// Retrieve a string valued attribute from an attribute set.
// Retrieve a double precision floating point valued attribute from an attribute set.
//
// This function asserts that `cxxrtl_attr_type(attrs, name) == CXXRTL_ATTR_STRING`. If assertions
// This function asserts that `cxxrtl_attr_type(attrs, name) == CXXRTL_ATTR_DOUBLE`. If assertions
// are disabled, returns NULL if the attribute is missing or has an incorrect type.
double cxxrtl_attr_get_double(cxxrtl_attr_set attrs, const char *name);

Expand Down

0 comments on commit 1b39544

Please sign in to comment.