Changeset 743

Show
Ignore:
Timestamp:
11/17/07 21:23:11 (8 months ago)
Author:
astrange
Message:

Mark some void* as strong for objc-gc.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/perian-1.1/Perian.xcodeproj/project.pbxproj

    r740 r743  
    19011901                                GCC_DYNAMIC_NO_PIC = NO; 
    19021902                                GCC_ENABLE_FIX_AND_CONTINUE = NO; 
     1903                                GCC_ENABLE_OBJC_GC = YES; 
    19031904                                GCC_GENERATE_DEBUGGING_SYMBOLS = NO; 
    19041905                                GCC_MODEL_TUNING = G5; 
     
    20212022                                GCC_DYNAMIC_NO_PIC = NO; 
    20222023                                GCC_ENABLE_FIX_AND_CONTINUE = NO; 
     2024                                GCC_ENABLE_OBJC_GC = YES; 
    20232025                                GCC_FAST_MATH = YES; 
    20242026                                GCC_MODEL_TUNING = G5; 
  • branches/perian-1.1/Subtitles/SubContext.h

    r695 r743  
    3030        BOOL bold, italic, underline, strikeout; 
    3131        UInt8 alignH, alignV, borderStyle; 
    32         void* ex; 
     32        __strong void* ex; 
    3333        Float32 platformSizeScale; 
    3434        SubRenderer *delegate; 
  • branches/perian-1.1/Subtitles/SubImport.h

    r674 r743  
    1111 
    1212#include <QuickTime/QuickTime.h> 
     13 
     14#ifndef __OBJC_GC__ 
     15#ifndef __strong 
     16#define __strong 
     17#endif 
     18#endif 
    1319 
    1420#ifdef __cplusplus 
     
    5763class CXXSubSerializer 
    5864{ 
    59         void *priv; 
     65        __strong void *priv; 
    6066         
    6167public: 
     
    7379class CXXAutoreleasePool 
    7480{ 
    75         void *pool; 
     81        __strong void *pool; 
    7682public: 
    7783        CXXAutoreleasePool(); 
  • branches/perian-1.1/Subtitles/SubParsing.h

    r697 r743  
    3737        @public; 
    3838        UniCharArrayOffset offset; 
    39         void *ex; 
     39        __strong void *ex; 
    4040        SubRenderer *delegate; 
    4141} 
  • branches/perian-1.1/Subtitles/SubRenderer.h

    r675 r743  
    1515          tag_alpha, tag_1a, tag_2a, tag_3a, tag_4a, tag_r} SSATagType; 
    1616 
     17#ifndef __OBJC_GC__ 
     18#ifndef __strong 
     19#define __strong 
     20#endif 
     21#endif 
     22 
    1723@interface SubRenderer : NSObject 
    1824-(void)completedHeaderParsing:(SubContext*)sc; 
  • branches/perian-1.1/UniversalDetector/UniversalDetector.xcodeproj/project.pbxproj

    r729 r743  
    668668                        isa = XCBuildConfiguration; 
    669669                        buildSettings = { 
     670                                GCC_ENABLE_OBJC_GC = YES; 
    670671                                GCC_WARN_ABOUT_RETURN_TYPE = YES; 
    671672                                GCC_WARN_UNUSED_VARIABLE = YES;