[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1190: byte-blob: byte-blob->blob or byte-blob-ob
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1190: byte-blob: byte-blob->blob or byte-blob-object? |
Date: |
Thu, 07 May 2015 23:26:12 -0000 |
#1190: byte-blob: byte-blob->blob or byte-blob-object?
----------------------+-----------------------------------------------------
Reporter: retroj | Owner:
Type: defect | Status: new
Priority: major | Milestone: someday
Component: unknown | Version: 4.9.x
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment(by iraikov):
I've created a new release of byte-blob (1.17) that exports byte-
blob->blob and have updated the documentation. Let me know if this works
for you.
Replying to [ticket:1190 retroj]:
> I need to pass a byte-blob to a foreign function, and found that foreign
types scheme-pointer and blob-pointer both gave pointers to the object
header rather than the blob contents. Looking into the source of the
byte-blob egg, I found byte-blob-object and its alias byte-blob->blob.
byte-blob-object is exported by the egg and byte-blob->blob is not
exported. I used byte-blob-object to do what I needed to do, however
neither of these procedures are mentioned in the documentation on Eggs
Unlimited or the chickidee api reference, so I suspect something is
unfinished here. Please advise! Thank you.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1190#comment:2>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.