Sha256: 3486cb381917052e4596cb69a04392c2d6e25dda5264e7ab9149d96128d477d9

Contents?: true

Size: 547 Bytes

Versions: 111

Compression:

Stored size: 547 Bytes

Contents

/* asynchttp.i */
%module "Rho::AsyncHttp"
%{
    #include "ext/rho/rhoruby.h"
    
	extern VALUE rho_asynchttp_request(const char* command, rho_param *p);
	#define do_request rho_asynchttp_request

	extern void rho_asynchttp_cancel(const char* cancel_callback);
	#define cancel rho_asynchttp_cancel
%}

%typemap(default) const char* cancel_callback {
 $1 = "*";
}

%typemap(in) (rho_param *p) {
    $1 = rho_param_fromvalue($input);
}

extern VALUE do_request(const char* command, rho_param *p);
extern void cancel(const char* cancel_callback);

Version data entries

111 entries across 111 versions & 2 rubygems

Version Path
rhodes-7.6.0 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-7.5.1 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-7.4.1 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-7.1.17 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-6.2.0 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-6.0.11 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.18 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.17 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.15 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.0.22 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.2 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.0.7 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.0.3 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-5.5.0 platform/shared/ruby/ext/asynchttp/asynchttp.i
tauplatform-1.0.3 platform/shared/ruby/ext/asynchttp/asynchttp.i
tauplatform-1.0.2 platform/shared/ruby/ext/asynchttp/asynchttp.i
tauplatform-1.0.1 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-3.5.1.12 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-3.3.5 platform/shared/ruby/ext/asynchttp/asynchttp.i
rhodes-3.4.2 platform/shared/ruby/ext/asynchttp/asynchttp.i