Convert static func naming to same style

Previously, some modules used BH_<Module> prefix in the names of static
functions (some used just <Module> prefix). Now every static function
should start from lowercase.
This commit is contained in:
2025-09-06 23:40:32 +03:00
parent 4196e8f4c9
commit 8d18e8020c
15 changed files with 203 additions and 203 deletions

View File

@@ -10,7 +10,7 @@ struct BH_ThreadContext
};
static unsigned __stdcall BH_ThreadRun(void *context)
static unsigned __stdcall threadRun(void *context)
{
BH_ThreadCallback callback;
@@ -27,10 +27,10 @@ static unsigned __stdcall BH_ThreadRun(void *context)
}
static int BH_ThreadInit(BH_Thread *thread,
size_t stack,
BH_ThreadCallback callback,
void *data)
static int threadInit(BH_Thread *thread,
size_t stack,
BH_ThreadCallback callback,
void *data)
{
struct BH_ThreadContext *context;
@@ -58,7 +58,7 @@ BH_Thread *BH_ThreadNew(size_t stack,
BH_Thread *thread;
thread = malloc(sizeof(BH_Thread));
if (thread && BH_ThreadInit(thread, stack, callback, data))
if (thread && threadInit(thread, stack, callback, data))
{
free(thread);
return NULL;