WIP: This basic test program now works:
WIP: This basic test program now works:

void
swift_NSStringToString(void *object, void *string);

void *
swift_StringToNSString(void *string);

int
main(int argc, char *argv[])
{
	static uint64_t buf[100];
	id obj;

	if (argc != 2) return 1;

	swift_NSStringToString(@"hello world", buf);
	obj = swift_StringToNSString(buf);

	NSLog(@"%@\n", obj);

	return 0;
}

Swift SVN r1931

zisko/swift,sschiau/swift,CodaFi/swift,russbishop/swift,cbrentharris/swift,arvedviehweger/swift,jmgc/swift,devincoughlin/swift,alblue/swift,sdulal/swift,aschwaighofer/swift,dduan/swift,jckarter/swift,sschiau/swift,LeoShimonaka/swift,tjw/swift,sschiau/swift,modocache/swift,dreamsxin/swift,devincoughlin/swift,codestergit/swift,harlanhaskins/swift,OscarSwanros/swift,benlangmuir/swift,sdulal/swift,glessard/swift,JGiola/swift,KrishMunot/swift,stephentyrone/swift,sschiau/swift,JaSpa/swift,jmgc/swift,gribozavr/swift,tardieu/swift,allevato/swift,JGiola/swift,practicalswift/swift,parkera/swift,calebd/swift,modocache/swift,djwbrown/swift,danielmartin/swift,kperryua/swift,nathawes/swift,swiftix/swift.old,khizkhiz/swift,shajrawi/swift,kusl/swift,kentya6/swift,glessard/swift,jmgc/swift,tinysun212/swift-windows,felix91gr/swift,kstaring/swift,brentdax/swift,JaSpa/swift,OscarSwanros/swift,hooman/swift,arvedviehweger/swift,gmilos/swift,lorentey/swift,Ivacker/swift,kstaring/swift,slavapestov/swift,tinysun212/swift-windows,gribozavr/swift,return/swift,frootloops/swift,CodaFi/swift,uasys/swift,MukeshKumarS/Swift,JGiola/swift,emilstahl/swift,ahoppen/swift,manavgabhawala/swift,emilstahl/swift,uasys/swift,codestergit/swift,kusl/swift,Ivacker/swift,practicalswift/swift,gottesmm/swift,cbrentharris/swift,uasys/swift,Jnosh/swift,adrfer/swift,ahoppen/swift,dduan/swift,amraboelela/swift,jopamer/swift,huonw/swift,aschwaighofer/swift,austinzheng/swift,austinzheng/swift,harlanhaskins/swift,hooman/swift,devincoughlin/swift,LeoShimonaka/swift,devincoughlin/swift,nathawes/swift,rudkx/swift,sdulal/swift,SwiftAndroid/swift,benlangmuir/swift,LeoShimonaka/swift,emilstahl/swift,JaSpa/swift,cbrentharris/swift,tinysun212/swift-windows,JGiola/swift,codestergit/swift,jopamer/swift,dduan/swift,kperryua/swift,xedin/swift,brentdax/swift,Jnosh/swift,ken0nek/swift,milseman/swift,apple/swift,airspeedswift/swift,mightydeveloper/swift,manavgabhawala/swift,IngmarStein/swift,kperryua/swift,karwa/swift,brentdax/swift,jtbandes/swift,tardieu/swift,gribozavr/swift,modocache/swift,bitjammer/swift,practicalswift/swift,shahmishal/swift,stephentyrone/swift,MukeshKumarS/Swift,xwu/swift,glessard/swift,bitjammer/swift,ahoppen/swift,IngmarStein/swift,amraboelela/swift,shajrawi/swift,natecook1000/swift,Jnosh/swift,hughbe/swift,SwiftAndroid/swift,xwu/swift,huonw/swift,codestergit/swift,roambotics/swift,zisko/swift,JaSpa/swift,sdulal/swift,brentdax/swift,nathawes/swift,swiftix/swift,karwa/swift,karwa/swift,gregomni/swift,arvedviehweger/swift,atrick/swift,amraboelela/swift,tkremenek/swift,gregomni/swift,ken0nek/swift,SwiftAndroid/swift,mightydeveloper/swift,Jnosh/swift,SwiftAndroid/swift,practicalswift/swift,bitjammer/swift,therealbnut/swift,milseman/swift,danielmartin/swift,shahmishal/swift,kstaring/swift,tkremenek/swift,jtbandes/swift,atrick/swift,alblue/swift,alblue/swift,LeoShimonaka/swift,shajrawi/swift,ahoppen/swift,xedin/swift,emilstahl/swift,swiftix/swift,dduan/swift,slavapestov/swift,xedin/swift,adrfer/swift,atrick/swift,manavgabhawala/swift,gregomni/swift,rudkx/swift,austinzheng/swift,brentdax/swift,swiftix/swift,gottesmm/swift,tkremenek/swift,aschwaighofer/swift,bitjammer/swift,LeoShimonaka/swift,shajrawi/swift,airspeedswift/swift,frootloops/swift,lorentey/swift,danielmartin/swift,parkera/swift,benlangmuir/swift,aschwaighofer/swift,parkera/swift,return/swift,gottesmm/swift,allevato/swift,tjw/swift,arvedviehweger/swift,huonw/swift,felix91gr/swift,stephentyrone/swift,CodaFi/swift,hughbe/swift,therealbnut/swift,parkera/swift,sdulal/swift,milseman/swift,zisko/swift,jmgc/swift,natecook1000/swift,cbrentharris/swift,devincoughlin/swift,frootloops/swift,swiftix/swift,milseman/swift,cbrentharris/swift,kusl/swift,bitjammer/swift,devincoughlin/swift,gribozavr/swift,jopamer/swift,gregomni/swift,tardieu/swift,jckarter/swift,Jnosh/swift,gmilos/swift,MukeshKumarS/Swift,danielmartin/swift,ben-ng/swift,hughbe/swift,roambotics/swift,swiftix/swift.old,KrishMunot/swift,johnno1962d/swift,shajrawi/swift,jopamer/swift,alblue/swift,practicalswift/swift,lorentey/swift,natecook1000/swift,modocache/swift,mightydeveloper/swift,tkremenek/swift,xwu/swift,lorentey/swift,felix91gr/swift,zisko/swift,jckarter/swift,OscarSwanros/swift,ken0nek/swift,airspeedswift/swift,MukeshKumarS/Swift,shahmishal/swift,aschwaighofer/swift,lorentey/swift,harlanhaskins/swift,allevato/swift,KrishMunot/swift,sschiau/swift,benlangmuir/swift,devincoughlin/swift,swiftix/swift.old,apple/swift,IngmarStein/swift,deyton/swift,jopamer/swift,apple/swift,lorentey/swift,tardieu/swift,OscarSwanros/swift,atrick/swift,karwa/swift,swiftix/swift.old,kusl/swift,khizkhiz/swift,huonw/swift,airspeedswift/swift,kstaring/swift,deyton/swift,nathawes/swift,hughbe/swift,slavapestov/swift,devincoughlin/swift,xedin/swift,russbishop/swift,uasys/swift,ben-ng/swift,zisko/swift,parkera/swift,tjw/swift,bitjammer/swift,brentdax/swift,airspeedswift/swift,codestergit/swift,ken0nek/swift,CodaFi/swift,rudkx/swift,adrfer/swift,kperryua/swift,sdulal/swift,johnno1962d/swift,khizkhiz/swift,IngmarStein/swift,austinzheng/swift,russbishop/swift,dduan/swift,return/swift,glessard/swift,kstaring/swift,calebd/swift,JGiola/swift,zisko/swift,tjw/swift,kentya6/swift,calebd/swift,adrfer/swift,khizkhiz/swift,Jnosh/swift,deyton/swift,johnno1962d/swift,natecook1000/swift,jopamer/swift,sschiau/swift,glessard/swift,tardieu/swift,shahmishal/swift,russbishop/swift,hooman/swift,alblue/swift,rudkx/swift,shajrawi/swift,tinysun212/swift-windows,KrishMunot/swift,hughbe/swift,arvedviehweger/swift,ahoppen/swift,jmgc/swift,brentdax/swift,khizkhiz/swift,danielmartin/swift,IngmarStein/swift,benlangmuir/swift,roambotics/swift,russbishop/swift,tjw/swift,shahmishal/swift,return/swift,harlanhaskins/swift,LeoShimonaka/swift,emilstahl/swift,arvedviehweger/swift,stephentyrone/swift,jckarter/swift,frootloops/swift,hooman/swift,deyton/swift,danielmartin/swift,kusl/swift,return/swift,JaSpa/swift,felix91gr/swift,kentya6/swift,karwa/swift,gmilos/swift,tardieu/swift,dduan/swift,xwu/swift,Ivacker/swift,mightydeveloper/swift,djwbrown/swift,airspeedswift/swift,lorentey/swift,hughbe/swift,mightydeveloper/swift,adrfer/swift,kstaring/swift,jtbandes/swift,shajrawi/swift,apple/swift,JaSpa/swift,felix91gr/swift,johnno1962d/swift,tkremenek/swift,MukeshKumarS/Swift,felix91gr/swift,xedin/swift,cbrentharris/swift,felix91gr/swift,SwiftAndroid/swift,austinzheng/swift,uasys/swift,shahmishal/swift,amraboelela/swift,calebd/swift,allevato/swift,russbishop/swift,emilstahl/swift,arvedviehweger/swift,gottesmm/swift,CodaFi/swift,stephentyrone/swift,Ivacker/swift,CodaFi/swift,sdulal/swift,natecook1000/swift,rudkx/swift,sdulal/swift,nathawes/swift,bitjammer/swift,kentya6/swift,allevato/swift,hooman/swift,shajrawi/swift,JGiola/swift,jtbandes/swift,mightydeveloper/swift,practicalswift/swift,kperryua/swift,Ivacker/swift,nathawes/swift,tardieu/swift,hooman/swift,khizkhiz/swift,swiftix/swift.old,modocache/swift,gottesmm/swift,jckarter/swift,natecook1000/swift,karwa/swift,johnno1962d/swift,jckarter/swift,amraboelela/swift,gottesmm/swift,jmgc/swift,IngmarStein/swift,calebd/swift,Ivacker/swift,tinysun212/swift-windows,dreamsxin/swift,KrishMunot/swift,kstaring/swift,manavgabhawala/swift,shahmishal/swift,jtbandes/swift,danielmartin/swift,jopamer/swift,kusl/swift,harlanhaskins/swift,tkremenek/swift,swiftix/swift,return/swift,milseman/swift,tjw/swift,return/swift,alblue/swift,aschwaighofer/swift,deyton/swift,codestergit/swift,swiftix/swift,ben-ng/swift,hughbe/swift,djwbrown/swift,IngmarStein/swift,frootloops/swift,aschwaighofer/swift,roambotics/swift,OscarSwanros/swift,khizkhiz/swift,swiftix/swift.old,natecook1000/swift,LeoShimonaka/swift,tkremenek/swift,huonw/swift,parkera/swift,OscarSwanros/swift,kperryua/swift,therealbnut/swift,MukeshKumarS/Swift,dduan/swift,roambotics/swift,ken0nek/swift,MukeshKumarS/Swift,gmilos/swift,apple/swift,hooman/swift,kusl/swift,harlanhaskins/swift,adrfer/swift,slavapestov/swift,calebd/swift,JaSpa/swift,slavapestov/swift,harlanhaskins/swift,gribozavr/swift,uasys/swift,stephentyrone/swift,swiftix/swift.old,Jnosh/swift,emilstahl/swift,nathawes/swift,djwbrown/swift,KrishMunot/swift,cbrentharris/swift,frootloops/swift,deyton/swift,djwbrown/swift,jtbandes/swift,uasys/swift,cbrentharris/swift,gribozavr/swift,alblue/swift,swiftix/swift,atrick/swift,kperryua/swift,shahmishal/swift,gribozavr/swift,karwa/swift,tjw/swift,zisko/swift,practicalswift/swift,adrfer/swift,emilstahl/swift,manavgabhawala/swift,ken0nek/swift,johnno1962d/swift,therealbnut/swift,xedin/swift,OscarSwanros/swift,austinzheng/swift,milseman/swift,xedin/swift,calebd/swift,karwa/swift,CodaFi/swift,lorentey/swift,kentya6/swift,jmgc/swift,airspeedswift/swift,glessard/swift,ben-ng/swift,gregomni/swift,manavgabhawala/swift,apple/swift,ahoppen/swift,allevato/swift,sschiau/swift,manavgabhawala/swift,jckarter/swift,xwu/swift,djwbrown/swift,stephentyrone/swift,kentya6/swift,ben-ng/swift,codestergit/swift,sschiau/swift,kentya6/swift,tinysun212/swift-windows,xwu/swift,jtbandes/swift,parkera/swift,gribozavr/swift,therealbnut/swift,therealbnut/swift,swiftix/swift.old,austinzheng/swift,johnno1962d/swift,frootloops/swift,tinysun212/swift-windows,gmilos/swift,ken0nek/swift,ben-ng/swift,xedin/swift,gregomni/swift,Ivacker/swift,xwu/swift,gmilos/swift,ben-ng/swift,huonw/swift,roambotics/swift,gottesmm/swift,rudkx/swift,huonw/swift,therealbnut/swift,KrishMunot/swift,LeoShimonaka/swift,slavapestov/swift,deyton/swift,kusl/swift,parkera/swift,atrick/swift,modocache/swift,modocache/swift,SwiftAndroid/swift,benlangmuir/swift,amraboelela/swift,kentya6/swift,slavapestov/swift,allevato/swift,mightydeveloper/swift,SwiftAndroid/swift,gmilos/swift,russbishop/swift,amraboelela/swift,practicalswift/swift,Ivacker/swift,mightydeveloper/swift,milseman/swift,djwbrown/swift