Open
Description
There are several functions in qjs
which are too easy to collide as:
- they are not static
- they are not namespaced with a prefix.
There are two specific offenders I encountered, pstrcat
& pstrcpy
, both colliding with their equivalent implementations in tinycc
. There are few more which have just too much of a generic name, like has_suffix
.
All these "offenders" are declared in cutils.h
and implemented in cutils.c
.
My suggestion would be for these functions to be scoped with some prefix, as I don't think they are really meant to be used from outside qjs.
Metadata
Metadata
Assignees
Labels
No labels