Sha256: ea105bbf99a5a937e919462cc63f03dc34c5e0d8f9b7f2b29def0a495661c9ef
Contents?: true
Size: 677 Bytes
Versions: 18
Compression:
Stored size: 677 Bytes
Contents
#include <common/RhodesApp.h> #include <logging/RhoLogConf.h> #include <stdlib.h> #include <windows.h> #include <commctrl.h> #include <RhoNativeViewManager.h> #include "rubyext/WebView.h" #include "ruby/ext/rho/rhoruby.h" #include "rawsensors_wm.h" extern "C" VALUE rawsensors_native_process_string(const char* str) { const char block[] = "<WM>"; char* buf = NULL; buf = (char*)malloc(strlen(str) + strlen(block)*2 + 1); strcpy(buf, block); strcat(buf, str); strcat(buf, block); VALUE result = rho_ruby_create_string(buf); free(buf); return result; } extern "C" int rawsensors_calc_summ(int x, int y) { return (x+y); }
Version data entries
18 entries across 18 versions & 2 rubygems