Sha256: e7409331286c562107a3f798303ed5b9fa406e7378b56910d6aecc4139b23ff5
Contents?: true
Size: 518 Bytes
Versions: 17
Compression:
Stored size: 518 Bytes
Contents
#import "Screenorientation.h" #include "ruby/ext/rho/rhoruby.h" VALUE screenorientation_native_process_string(const char* str) { NSString* os_string = @"<iOS>"; NSString* result_string = [os_string stringByAppendingString:[NSString stringWithUTF8String:str]]; result_string = [result_string stringByAppendingString:os_string]; VALUE result = rho_ruby_create_string([result_string UTF8String]); return result; } int screenorientation_calc_summ(int x, int y) { return (x+y); }
Version data entries
17 entries across 17 versions & 2 rubygems