Amalgamated #26

Merged
merged 2 commits into from Nov 27, 2011

Projects

None yet

2 participants

Contributor

Hi Tim,
I've updated the amalgamated branch to remove the workaround that Yusef had added to get around the Snow Leopard bug that caused the method_*** functions to misreport signatures for methods that take c blocks as parameters. Lion fixed this bug. I also added a test to test_bridge.nu for cblocks. I noticed that you made the functions in Nu.m all static. That broke Yusef's cblock macro which relied on the signature_for_identifier function, so I added a 'signature' operator to allow nu code to take advantage of that function. I think this operator could be generally useful, so I hope you let it stand. None of this has been tested on iOS. I hope these changes meet your approval :-)!

philipwhite added some commits Oct 15, 2011
@philipwhite philipwhite removed c blocks bridge code that worked around a bug in Snow Leopard…
… and added a test case for cblocks
975bb7e
@philipwhite philipwhite Added a signature operator to allow nu code an easy way to convert sy…
…mbols to ObjC type signatures.

Updated the cblock macro in cblocks.nu to use the signature operator.
Added a test for c blocks to the TestBridge class.
217c2ea
@timburks timburks merged commit 217c2ea into nulang:amalgamated Nov 27, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment