Reviewed by Tim Hatcher.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Aug 2006 00:12:08 +0000 (00:12 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Aug 2006 00:12:08 +0000 (00:12 +0000)
commit6442bd0d0a3cb06e78ad5633b98c5e148b021d19
treed2a9c39e28bb407d7dfd997635dce52ed666799c
parentc03638f9e0b3efbf1d23b2dd321a04740dd4844f
    Reviewed by Tim Hatcher.

        - add WTF::getPtr, a function template that makes it possible to write
          generic code that gets a raw pointer out of any of our pointer types

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * wtf/GetPtr.h: Added.
        * wtf/ListRefPtr.h: (WTF::getPtr): Added.
        * wtf/OwnArrayPtr.h: (WTF::getPtr): Added.
        * wtf/OwnPtr.h: (WTF::getPtr): Added.
        * wtf/PassRefPtr.h: (WTF::getPtr): Added.
        * wtf/RefPtr.h: (WTF::getPtr): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
JavaScriptCore/wtf/GetPtr.h [new file with mode: 0644]
JavaScriptCore/wtf/ListRefPtr.h
JavaScriptCore/wtf/OwnArrayPtr.h
JavaScriptCore/wtf/OwnPtr.h
JavaScriptCore/wtf/PassRefPtr.h
JavaScriptCore/wtf/RefPtr.h