Ejemplo n.º 1
0
struct r_bin_bflt_obj *r_bin_bflt_new_buf(struct r_buf_t *buf) {
	struct r_bin_bflt_obj *bin = R_NEW0 (struct r_bin_bflt_obj);
	if (bin && r_bin_bflt_init (bin, buf)) {
		return bin;
	}
	r_bin_bflt_free (bin);
	return NULL;
}	
Ejemplo n.º 2
0
static int destroy(RBinFile *bf) {
	r_bin_bflt_free (bf->o->bin_obj);
	return true;
}