Sha256: b34da88dce1ded17ff4ef90e51deafc11d8b9e4e79c61c31bd0794b219db741c

Contents?: true

Size: 1.06 KB

Versions: 50

Compression:

Stored size: 1.06 KB

Contents

/* system.i */
%module RhoConf
%{
	extern void rho_conf_set_property_by_name(char* name, char* value);
	#define set_property_by_name rho_conf_set_property_by_name

    extern VALUE rho_conf_get_property_by_name(char* property);
    #define get_property_by_name rho_conf_get_property_by_name
	
	extern void rho_conf_show_log();
	#define show_log rho_conf_show_log

	extern int rho_conf_send_log();
	#define send_log rho_conf_send_log

	extern void rho_conf_clean_log();
	#define clean_log rho_conf_clean_log

	extern VALUE rho_conf_read_log(int limit);
	#define read_log rho_conf_read_log

	extern int rho_conf_is_property_exists(char* name);
	#define is_property_exists rho_conf_is_property_exists
	
%}

%typemap(out) int is_property_exists 
 "$result = ($1 != 0) ? Qtrue : Qfalse;";

%typemap(default) int limit {
 $1 = 0;
}
 
extern void set_property_by_name(char* name, char* value);
extern VALUE get_property_by_name(char* name);
extern void show_log();
extern int send_log();
extern void clean_log();
extern VALUE read_log(int limit);
extern int is_property_exists(char* name);

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
rhodes-3.0.2 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.2.beta.1 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1.beta.8 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1.beta.7 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1.beta.6 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1.beta.5 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1.beta.4 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1.beta.3 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.1.beta.2 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0.beta.7 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0.beta.6 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0.beta.5 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0.beta.4 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0.beta.3 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0.beta.2 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-3.0.0.beta.1 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-2.4.1 platform/shared/ruby/ext/rhoconf/rhoconf.i
rhodes-2.4.1.beta.1 platform/shared/ruby/ext/rhoconf/rhoconf.i