Code Search for Developers
 
 
  

BDAliasTestStand.m from redshed at Krugle


Show BDAliasTestStand.m syntax highlighted

#import <Foundation/Foundation.h>
#import "BDAlias.h"

int main (int argc, const char * argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
	
	BDAlias *alias1 = [BDAlias aliasWithPath:[[NSFileManager defaultManager] stringWithFileSystemRepresentation:argv[0] length:strlen(argv[0])]];
	BDAlias *alias2 = [BDAlias aliasWithPath:[[NSFileManager defaultManager] stringWithFileSystemRepresentation:argv[0] length:strlen(argv[0])]];
	assert([alias1 isEqual:alias2]);
	
    [pool release];
	printf("success\n");
    return 0;
}




See more files for this project here

redshed

Code for Mac+WebObjects.

Project homepage: http://sourceforge.net/projects/redshed
Programming language(s): C,Java,Objective C
License: other

  BDAliasTestStand.xcodeproj/
    project.pbxproj
    wolf.mode1
    wolf.pbxuser
  BDAliasTestStand.m
  BDAliasTestStand_Prefix.pch