Nobuyoshi Nakada wrote: > Hi, Hello. > At Sun, 17 Sep 2006 06:06:16 +0900, > Bil Kleb wrote in [ruby-talk:214786]: >> ossl_bio.c: In function `ossl_obj2bio': >> ossl_bio.c:23: called object is not a function >> make: *** [ossl_bio.o] Error 1 > > Can't you show the preprocessed result? ossl_obj2bio(VALUE obj) { BIO *bio; if (rb_type((VALUE)(obj)) == 0x0e) { OpenFile *fptr; rb_io_check_closed((fptr) = ".rnd"(rb_io_taint_check(obj))->fptr); rb_io_check_readable(fptr); bio = BIO_new_fp(fptr->f, 0x00); } else { rb_string_value(&(obj)); bio = BIO_new_mem_buf(((struct RString*)(obj))->ptr, ((struct RString*)(obj))->len); } if (!bio) ossl_raise(eOSSLError, ((void *)0)); return bio; } Regards, -- Bil Kleb http://fun3d.larc.nasa.gov