Sha256: c289ed2c1412b85e190c7e1941e19b7940f3d467d152844d8f4fdb132033d875

Contents?: true

Size: 903 Bytes

Versions: 9

Compression:

Stored size: 903 Bytes

Contents

#ifndef __RUBY_MPFI_COMPLEX__
#define __RUBY_MPFI_COMPLEX__

#include "func_ruby_mpfi_complex.h"

#define r_mpfi_make_complex_struct(ruby_var, mpfi_complex_var) { ruby_var = Data_Make_Struct(r_mpfi_complex, MPFIComplex, 0, r_mpfi_complex_free, mpfi_complex_var); }
#define r_mpfi_make_complex_struct_init(ruby_var, mpfi_complex_var) { ruby_var = Data_Make_Struct(r_mpfi_complex, MPFIComplex, 0, r_mpfi_complex_free, mpfi_complex_var); mpfi_complex_init(mpfi_complex_var);}
#define r_mpfi_get_complex_struct(mpfi_complex_var, ruby_var) { Data_Get_Struct(ruby_var, MPFIComplex, mpfi_complex_var); }

#define r_mpfi_complex_temp_alloc_init(mpfi_complex_var) { mpfi_complex_var = ALLOC_N(MPFIComplex, 1); mpfi_complex_init(mpfi_complex_var); }
#define r_mpfi_complex_temp_free(mpfi_complex_var) { mpfi_complex_clear(mpfi_complex_var); free(mpfi_complex_var); }

void r_mpfi_complex_free(void *ptr);

#endif

Version data entries

9 entries across 8 versions & 1 rubygems

Version Path
ruby-mpfi-0.0.9 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.8 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.7 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.6 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.5 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.4 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.3 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.2 ext/mpfi_complex/mpfi/ruby_mpfi_complex.h
ruby-mpfi-0.0.2 ext/mpfi_matrix/mpfi/ruby_mpfi_complex.h