Revert "fix where Boxed#new doesn't work for GLKKit structure."

This reverts commit ac89cf6b4b.

http://hipbyte.myjetbrains.com/youtrack/issue/RM-342
Because this patch causes a conflict between method's structure signature and bridgesupport's structure signature
This commit is contained in:
Watson
2013-12-05 22:17:09 +09:00
parent a6de0f4021
commit ca35b95be2

View File

@@ -345,7 +345,7 @@ EOS
sdk_path = self.sdk(local_platform)
includes = ['-I.'] + headers.map { |header| "-I'#{File.dirname(header)}'" }.uniq
exceptions = exceptions.map { |x| "\"#{x}\"" }.join(' ')
c_flags = "#{c_flags} -isysroot '#{sdk_path}' #{bridgesupport_cflags} -D__STRICT_ANSI__ #{includes.join(' ')}"
c_flags = "#{c_flags} -isysroot '#{sdk_path}' #{bridgesupport_cflags} #{includes.join(' ')}"
sh "RUBYOPT='' '#{File.join(bindir, 'gen_bridge_metadata')}' #{bridgesupport_flags} --cflags \"#{c_flags}\" #{headers.map { |x| "'#{x}'" }.join(' ')} -o '#{bs_file}' #{ "-e #{exceptions}" if exceptions.length != 0}"
end