Displaying 1 result from an estimated 1 matches for "cfg_rec".
2004 Mar 17
1
best methods for strings and structures?
...n_prism_dbh;
double baf;
unsigned long max_sample_size;
unsigned long use_precip_in_hg;
};
with an internal function and I'm building the return object using the
following code:
PROTECT( ret_val = allocVector( VECSXP, 13 ) );
SET_STRING_ELT( ret_val, 0, mkChar( cfg_rec.coeffs_filename) );
SET_STRING_ELT( ret_val, 1, mkChar( cfg_rec.species_filename) );
SET_VECTOR_ELT( ret_val, 2, ScalarInteger( cfg_rec.use_random_error ) );
SET_VECTOR_ELT( ret_val, 3, ScalarInteger( cfg_rec.random_seed ) );
SET_VECTOR_ELT( ret_val, 4, ScalarInteger( cfg_rec.endemic_mo...