mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Use JS_PropertyStub instead of NULL where applicable in JSClass
definitions.
This commit is contained in:
parent
46b1db47a2
commit
79cf499cf9
@ -184,7 +184,7 @@ static const JSClass bookmark_folder_class = {
|
||||
"bookmark_folder",
|
||||
JSCLASS_HAS_PRIVATE,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
bookmark_folder_get_property, NULL,
|
||||
bookmark_folder_get_property, JS_PropertyStub,
|
||||
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, bookmark_finalize,
|
||||
};
|
||||
|
||||
|
@ -171,7 +171,7 @@ static const JSClass keymaps_hash_class = {
|
||||
"keymaps_hash",
|
||||
JSCLASS_HAS_PRIVATE,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
NULL, NULL,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user