Hi all, I am using the IntAE buffers (taken from IRanges packages) in my .Call() code. Sample code in C:
IntAE width_buf; width_buf = new_IntAE(0, 0, 0); for(…){ IntAE_insert_at(&width_buf, IntAE_get_nelt(&width_buf), width); } PROTECT(width = new_INTEGER_from_IntAE(&width_buf)); UNPROTECT(1); return(width); So after using .Call(), do I need to run something like ".Call("AEbufs_free", PACKAGE="IRanges")" in R? I got this from the IRanges/src/AEbufs.c. Thanks! Ge _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel