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

Version Path
rhodes-7.6.0 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-7.5.1 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-7.4.1 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-7.1.17 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-6.2.0 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-6.0.11 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.18 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.17 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.15 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.0.22 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.2 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.0.7 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.0.3 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-5.5.0 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
tauplatform-1.0.3 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
tauplatform-1.0.2 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
tauplatform-1.0.1 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp
rhodes-3.5.1.12 lib/extensions/rawsensors/ext/rawsensors/platform/wm/src/rawsensors_wm.cpp