pyhelper: define set_thread_name() helper

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
Timofey Titovets
2025-07-28 01:12:19 +02:00
committed by KevinOConnor
parent d5c031bc13
commit c78dd6a00a
3 changed files with 11 additions and 0 deletions

View File

@@ -219,6 +219,7 @@ defs_trdispatch = """
defs_pyhelper = """
void set_python_logging_callback(void (*func)(const char *));
double get_monotonic(void);
int set_thread_name(char name[16]);
"""
defs_std = """