| 357 | #endif // NODE_API_EXPERIMENTAL_HAS_SET_PROTOTYPE |
| 358 | |
| 359 | Object InitObject(Env env) { |
| 360 | Object exports = Object::New(env); |
| 361 | |
| 362 | exports["emptyConstructor"] = Function::New(env, EmptyConstructor); |
| 363 | exports["constructorFromObject"] = Function::New(env, ConstructorFromObject); |
| 364 | |
| 365 | exports["GetPropertyNames"] = Function::New(env, GetPropertyNames); |
| 366 | exports["defineProperties"] = Function::New(env, DefineProperties); |
| 367 | exports["defineValueProperty"] = Function::New(env, DefineValueProperty); |
| 368 | |
| 369 | exports["getPropertyWithUint32"] = Function::New(env, GetPropertyWithUint32); |
| 370 | exports["getPropertyWithNapiValue"] = |
| 371 | Function::New(env, GetPropertyWithNapiValue); |
| 372 | exports["getPropertyWithNapiWrapperValue"] = |
| 373 | Function::New(env, GetPropertyWithNapiWrapperValue); |
| 374 | exports["getPropertyWithCStyleString"] = |
| 375 | Function::New(env, GetPropertyWithCStyleString); |
| 376 | exports["getPropertyWithCppStyleString"] = |
| 377 | Function::New(env, GetPropertyWithCppStyleString); |
| 378 | |
| 379 | exports["setPropertyWithUint32"] = Function::New(env, SetPropertyWithUint32); |
| 380 | exports["setPropertyWithNapiValue"] = |
| 381 | Function::New(env, SetPropertyWithNapiValue); |
| 382 | exports["setPropertyWithNapiWrapperValue"] = |
| 383 | Function::New(env, SetPropertyWithNapiWrapperValue); |
| 384 | exports["setPropertyWithCStyleString"] = |
| 385 | Function::New(env, SetPropertyWithCStyleString); |
| 386 | exports["setPropertyWithCppStyleString"] = |
| 387 | Function::New(env, SetPropertyWithCppStyleString); |
| 388 | |
| 389 | exports["deletePropertyWithUint32"] = |
| 390 | Function::New(env, DeletePropertyWithUint32); |
| 391 | exports["deletePropertyWithNapiValue"] = |
| 392 | Function::New(env, DeletePropertyWithNapiValue); |
| 393 | exports["deletePropertyWithNapiWrapperValue"] = |
| 394 | Function::New(env, DeletePropertyWithNapiWrapperValue); |
| 395 | exports["deletePropertyWithCStyleString"] = |
| 396 | Function::New(env, DeletePropertyWithCStyleString); |
| 397 | exports["deletePropertyWithCppStyleString"] = |
| 398 | Function::New(env, DeletePropertyWithCppStyleString); |
| 399 | |
| 400 | exports["hasOwnPropertyWithNapiValue"] = |
| 401 | Function::New(env, HasOwnPropertyWithNapiValue); |
| 402 | exports["hasOwnPropertyWithNapiWrapperValue"] = |
| 403 | Function::New(env, HasOwnPropertyWithNapiWrapperValue); |
| 404 | exports["hasOwnPropertyWithCStyleString"] = |
| 405 | Function::New(env, HasOwnPropertyWithCStyleString); |
| 406 | exports["hasOwnPropertyWithCppStyleString"] = |
| 407 | Function::New(env, HasOwnPropertyWithCppStyleString); |
| 408 | |
| 409 | exports["hasPropertyWithUint32"] = Function::New(env, HasPropertyWithUint32); |
| 410 | exports["hasPropertyWithNapiValue"] = |
| 411 | Function::New(env, HasPropertyWithNapiValue); |
| 412 | exports["hasPropertyWithNapiWrapperValue"] = |
| 413 | Function::New(env, HasPropertyWithNapiWrapperValue); |
| 414 | exports["hasPropertyWithCStyleString"] = |
| 415 | Function::New(env, HasPropertyWithCStyleString); |
| 416 | exports["hasPropertyWithCppStyleString"] = |