mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Fix JS_NewClassID comment (#784)
This commit is contained in:
parent
b675a95bec
commit
1b957f71e3
1 changed files with 1 additions and 1 deletions
|
@ -3519,7 +3519,7 @@ static inline BOOL JS_IsEmptyString(JSValue v)
|
|||
|
||||
/* JSClass support */
|
||||
|
||||
/* a new class ID is allocated if *pclass_id != 0 */
|
||||
/* a new class ID is allocated if *pclass_id == 0, otherwise *pclass_id is left unchanged */
|
||||
JSClassID JS_NewClassID(JSRuntime *rt, JSClassID *pclass_id)
|
||||
{
|
||||
JSClassID class_id = *pclass_id;
|
||||
|
|
Loading…
Reference in a new issue