1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -04:00

Use JS_PropertyStub instead of NULL where applicable in JSClass

definitions.
This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-29 07:25:04 +00:00 committed by Miciah Dashiel Butler Masters
parent 46b1db47a2
commit 79cf499cf9
2 changed files with 2 additions and 2 deletions

View File

@ -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,
};

View File

@ -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,
};