Ignore:
Timestamp:
Aug 16, 2005, 3:01:31 PM (20 years ago)
Author:
darin
Message:

Reviewed by Geoff.

  • clean up exported symbols that are not in a "KJS" namespace
  • bindings/NP_jsobject.cpp: (identiferFromNPIdentifier): Marked this function static so it no longer has external linkage.
  • bindings/c/c_utility.h: Put all this stuff inside the KJS namespace.
  • bindings/c/c_utility.cpp: Also marked some globals static so they don't have external linkage; not as important given the namespace.
  • bindings/npruntime.cpp: Marked functions static so they no longer have internal linkage. Also removed unused _NPN_SetExceptionWithUTF8 function (not in header, had C++ linkage!).
  • bindings/jni/jni_utility.cpp: (KJS::Bindings::getJavaVM): Call KJS_GetCreatedJavaVMs using the soft linking header, instead of calling the JNI call. This allows processes to link both JavaScriptCore and JavaVM without a symbol conflict.
  • bindings/softlinking.c: (loadFramework): Marked this function static so it no longer has external linkage. (getFunctionPointer): Ditto. (KJS_GetCreatedJavaVMs): Renamed this so it has a KJS prefix.
  • JavaScriptCore.xcodeproj/project.pbxproj: Added softlinking.h.
  • bindings/softlinking.h: Added.
  • kjs/nodes2string.cpp: (streamAssignmentOperatorTo): Marked this function static so it no longer has external linkage.
File:
1 edited

Legend:

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

    r10168 r10218  
    176176                935F69FE08245057003D1A45 /* dftables.c in Sources */ = {isa = PBXBuildFile; fileRef = 6541720E039E08B90058BFEB /* dftables.c */; };
    177177                93DE3E420868DCAB00B8897C /* grammar.y in Sources */ = {isa = PBXBuildFile; fileRef = 933A3499038AE7C6008635CE /* grammar.y */; };
     178                93E26CCF08B2921900F85226 /* softlinking.h in Headers */ = {isa = PBXBuildFile; fileRef = 93E26CCE08B2921900F85226 /* softlinking.h */; };
     179                93E26CD008B2921900F85226 /* softlinking.h in Headers */ = {isa = PBXBuildFile; fileRef = 93E26CCE08B2921900F85226 /* softlinking.h */; };
    178180                A85D81F8087B2822006A9172 /* array_object.h in Headers */ = {isa = PBXBuildFile; fileRef = F692A84E0255597D01FF60F7 /* array_object.h */; settings = {ATTRIBUTES = (Private, ); }; };
    179181                A85D81F9087B2822006A9172 /* collector.h in Headers */ = {isa = PBXBuildFile; fileRef = F692A8530255597D01FF60F7 /* collector.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    498500                937F4F24048E5B9900CA2AC4 /* internal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = internal.h; path = pcre/internal.h; sourceTree = "<group>"; };
    499501                938772E5038BFE19008635CE /* array_instance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = array_instance.h; sourceTree = "<group>"; };
     502                93E26CCE08B2921900F85226 /* softlinking.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = softlinking.h; path = bindings/softlinking.h; sourceTree = "<group>"; };
    500503                93F1981A08245AAE001E9ABC /* keywords.table */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = keywords.table; sourceTree = "<group>"; };
    501504                A85D8288087B2822006A9172 /* JavaScriptCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = JavaScriptCore.framework; sourceTree = BUILT_PRODUCTS_DIR; };
     
    771774                                51F0EC9705C88DC700E6DF1B /* objc_utility.mm */,
    772775                                8442A376074175C2000AE2ED /* softlinking.c */,
     776                                93E26CCE08B2921900F85226 /* softlinking.h */,
    773777                        );
    774778                        name = bindings;
     
    915919                                932FC11D0824A6A3005B3C75 /* create_hash_table in Headers */,
    916920                                65621E6E089E859700760F35 /* property_slot.h in Headers */,
     921                                93E26CCF08B2921900F85226 /* softlinking.h in Headers */,
    917922                        );
    918923                        runOnlyForDeploymentPostprocessing = 0;
     
    9961001                                65621E70089E85D300760F35 /* property_slot.h in Headers */,
    9971002                                A85D823F087B2822006A9172 /* create_hash_table in Headers */,
     1003                                93E26CD008B2921900F85226 /* softlinking.h in Headers */,
    9981004                        );
    9991005                        runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset for help on using the changeset viewer.