Ejemplo n.º 1
0
static void
_ejs_init_classes()
{
    _ejs_Class_initialize (&_ejs_Arguments_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Boolean_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Date_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Error_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Function_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Map_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Proxy_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Set_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Number_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_RegExp_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_String_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Symbol_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_ArrayBuffer_specops, &_ejs_Object_specops);

    _ejs_Class_initialize (&_ejs_int8array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_uint8array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_int16array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_uint16array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_int32array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_uint32array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_float32array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_float64array_specops, &_ejs_Object_specops);

    _ejs_Class_initialize (&_ejs_DataView_specops, &_ejs_Object_specops);
#if IOS
    _ejs_Class_initialize (&_ejs_WebGLRenderingContext_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLBuffer_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLFramebuffer_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLRenderbuffer_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLProgram_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLShader_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLTexture_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLActiveInfo_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLUniformLocation_specops, &_ejs_Object_specops);
#endif
    _ejs_Class_initialize (&_ejs_XMLHttpRequest_specops, &_ejs_Object_specops);
}
Ejemplo n.º 2
0
static void
_ejs_init_classes()
{
    _ejs_Class_initialize (&_ejs_Arguments_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_ArrayIterator_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Boolean_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Date_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Error_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Function_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Map_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_MapIterator_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WeakMap_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WeakSet_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Module_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Proxy_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Promise_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Set_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_SetIterator_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Number_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_RegExp_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_String_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_StringIterator_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Symbol_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_ArrayBuffer_specops, &_ejs_Object_specops);

    _ejs_Class_initialize (&_ejs_Int8Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Uint8Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Uint8ClampedArray_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Int16Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Uint16Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Int32Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Uint32Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Float32Array_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_Float64Array_specops, &_ejs_Object_specops);

    _ejs_Class_initialize (&_ejs_DataView_specops, &_ejs_Object_specops);

#if IOS
    _ejs_Class_initialize (&_ejs_WebGLRenderingContext_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLBuffer_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLFramebuffer_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLRenderbuffer_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLProgram_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLShader_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLTexture_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLActiveInfo_specops, &_ejs_Object_specops);
    _ejs_Class_initialize (&_ejs_WebGLUniformLocation_specops, &_ejs_Object_specops);
#endif
#if IOS || OSX
    _ejs_Class_initialize (&_ejs_XMLHttpRequest_specops, &_ejs_Object_specops);
#endif
}