Ignore:
Timestamp:
Sep 20, 2010, 9:18:23 AM (15 years ago)
Author:
Adam Roben
Message:

Export RegExpObject::info from JavaScriptCore

This allows obj->inherits(&RegExpObject::info) to work correctly from
outside JavaScriptCore.dll on Windows.

Fixes <http://webkit.org/b/46098>
fast/loader/stateobjects/pushstate-object-types.html fails on Windows

Reviewed by John Sullivan.

  • runtime/RegExpObject.h: Added JS_EXPORTDATA to the info member, as

we already have for some other classes whose info members have to be
used from outside the DLL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/RegExpObject.h

    r60392 r67855  
    4646
    4747        virtual const ClassInfo* classInfo() const { return &info; }
    48         static const ClassInfo info;
     48        static JS_EXPORTDATA const ClassInfo info;
    4949
    5050        static PassRefPtr<Structure> createStructure(JSValue prototype)
Note: See TracChangeset for help on using the changeset viewer.