Ignore:
Timestamp:
Aug 30, 2006, 5:12:08 PM (19 years ago)
Author:
darin
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r16089 r16133  
    247247                935F69FE08245057003D1A45 /* dftables.c in Sources */ = {isa = PBXBuildFile; fileRef = 6541720E039E08B90058BFEB /* dftables.c */; };
    248248                93AA4F780957251F0084B3A7 /* AlwaysInline.h in Headers */ = {isa = PBXBuildFile; fileRef = 93AA4F770957251F0084B3A7 /* AlwaysInline.h */; settings = {ATTRIBUTES = (Private, ); }; };
     249                93B6A0DF0AA64DA40076DE27 /* GetPtr.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B6A0DE0AA64DA40076DE27 /* GetPtr.h */; settings = {ATTRIBUTES = (Private, ); }; };
    249250                93E26BCA08B1511900F85226 /* pcre_ord2utf8.c in Sources */ = {isa = PBXBuildFile; fileRef = 93E26BC908B1511900F85226 /* pcre_ord2utf8.c */; };
    250251                93E26BCE08B1512600F85226 /* pcre_ucp_findchar.c in Sources */ = {isa = PBXBuildFile; fileRef = 93E26BCD08B1512600F85226 /* pcre_ucp_findchar.c */; };
     
    500501                938772E5038BFE19008635CE /* array_instance.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = array_instance.h; sourceTree = "<group>"; tabWidth = 8; };
    501502                93AA4F770957251F0084B3A7 /* AlwaysInline.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = AlwaysInline.h; sourceTree = "<group>"; tabWidth = 8; };
     503                93B6A0DE0AA64DA40076DE27 /* GetPtr.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = GetPtr.h; sourceTree = "<group>"; };
    502504                93E26BC908B1511900F85226 /* pcre_ord2utf8.c */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.c; name = pcre_ord2utf8.c; path = pcre/pcre_ord2utf8.c; sourceTree = "<group>"; tabWidth = 8; };
    503505                93E26BCD08B1512600F85226 /* pcre_ucp_findchar.c */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.c; name = pcre_ucp_findchar.c; path = pcre/pcre_ucp_findchar.c; sourceTree = "<group>"; tabWidth = 8; };
     
    801803                                65D7D19B08F10B5B0015ABD8 /* FastMallocInternal.h */,
    802804                                935AF46909E9D9DB00ACD1D8 /* Forward.h */,
     805                                93B6A0DE0AA64DA40076DE27 /* GetPtr.h */,
    803806                                657EEBBF094E445E008C9C7B /* HashCountedSet.h */,
    804807                                65DFC92A08EA173A00F7300B /* HashFunctions.h */,
     
    11191122                                1CAF34890A6C421700ABE06E /* WebScriptObject.h in Headers */,
    11201123                                65C7A1740A8EAACB00FA37EA /* JSWrapperObject.h in Headers */,
     1124                                93B6A0DF0AA64DA40076DE27 /* GetPtr.h in Headers */,
    11211125                        );
    11221126                        runOnlyForDeploymentPostprocessing = 0;
     
    12271231                        productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
    12281232                        projectDirPath = "";
    1229                         projectRoot = "";
    12301233                        targets = (
    12311234                                932F5B3E0822A1C700736975 /* JavaScriptCore */,
Note: See TracChangeset for help on using the changeset viewer.