[sane-devel] How to pass a SANE_Handle through a Language Binding (both ways)

m. allan noah kitno455 at gmail.com
Tue Jul 6 11:49:20 UTC 2010

Does Clipper/Harbour not have pointers?


On Tue, Jul 6, 2010 at 1:23 AM,  <dougf at people.net.au> wrote:
> I am writing a SANE binding for the Harbour language.  sane_open returns a
> pointer to a SANE_Handle which needs to be used in subsequent calls.
> SANE_Handle is void *. I need to be able to pass this in both directions
> through my binding.  Should I be casting the SANE_Handle to a ulong for this
> purpose?
> Thanks for any advice you can give
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>             to sane-devel-request at lists.alioth.debian.org

"The truth is an offense, but not a sin"

More information about the sane-devel mailing list