Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

JSCLASS_GLOBAL_SLOT_COUNT doesn't match C++ definition #466

Open
jdm opened this issue Jul 22, 2019 · 0 comments
Open

JSCLASS_GLOBAL_SLOT_COUNT doesn't match C++ definition #466

jdm opened this issue Jul 22, 2019 · 0 comments

Comments

@jdm
Copy link
Member

jdm commented Jul 22, 2019

https://searchfox.org/mozilla-central/rev/4436573fa3d5c4311822090e188504c10c916c6f/js/public/Class.h#841-842

rust-mozjs/src/consts.rs

Lines 26 to 27 in 124e524

pub const JSCLASS_GLOBAL_SLOT_COUNT: c_uint =
JSCLASS_GLOBAL_APPLICATION_SLOTS + JSProtoKey::JSProto_LIMIT as c_uint * 3 + 36;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant