Sha256: 71516fc86a8d3eabda8e1e5d5695d8b1c4c5a51beb242d432438afb8bf9760ac

Contents?: true

Size: 512 Bytes

Versions: 14

Compression:

Stored size: 512 Bytes

Contents

#import "Instrumentation.h"

#include "ruby/ext/rho/rhoruby.h"



VALUE instrumentation_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 instrumentation_calc_summ(int x, int y) {
	return (x+y);
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rhodes-7.6.0 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-7.5.1 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-7.4.1 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-7.1.17 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-6.2.0 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-6.0.11 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.18 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.17 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.15 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.0.22 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.2 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.0.7 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.0.3 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m
rhodes-5.5.0 extensions/instrumentation/ext/platform/iphone/Classes/Instrumentation.m