Skip to content

Commit

Permalink
Switch variable name away from macro
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
  • Loading branch information
InvincibleRMC committed Feb 22, 2025
1 parent 241a426 commit 36e65b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ inline std::string replace_newlines_and_squash(const char *text) {
return result.substr(str_begin, str_range);
}

/* Generate a proper function signature */
inline std::string generate_signature(const char *text,
detail::function_record *rec,
const std::type_info *const *types,
size_t &type_index,
size_t &arg_index,
const bool is_annotation = false) {
/* Generate a proper function signature */
std::string signature;
bool is_starred = false;
// `is_return_value.top()` is true if we are currently inside the return type of the
Expand Down

0 comments on commit 36e65b6

Please sign in to comment.