[MacRuby/MacRuby] 8b320d: get a size of pointer type before converting a typ...
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: 8b320dcd5edcf24d6f482bf761ac63a34066ee0b https://github.com/MacRuby/MacRuby/commit/8b320dcd5edcf24d6f482bf761ac63a340... Author: Watson <watson1978@gmail.com> Date: 2012-03-26 (Mon, 26 Mar 2012) Changed paths: M bridgesupport.cpp M spec/macruby/core/pointer_spec.rb Log Message: ----------- get a size of pointer type before converting a type to raise a TypeError when passed invalid argument to Pointer#cast!. fix #1489 Commit: 85f0825b40910abcf99578366c48423a8479d980 https://github.com/MacRuby/MacRuby/commit/85f0825b40910abcf99578366c48423a84... Author: Watson <watson1978@gmail.com> Date: 2012-03-26 (Mon, 26 Mar 2012) Changed paths: M bridgesupport.cpp M spec/macruby/core/pointer_spec.rb Log Message: ----------- Pointer#cast! accept an alias of types. fix #1488 Compare: https://github.com/MacRuby/MacRuby/compare/e35df75...85f0825
participants (1)
-
GitHub