realbasic-nug
[Top] [All Lists]

Re: Turning Integers into MemoryBlocks?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Turning Integers into MemoryBlocks?
From: Thomas Reed <tareed at bitjuggler dot com>
Date: Tue, 31 Aug 2004 13:39:08 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <86BE5A62-FB59-11D8-9A45-000393C0FE92 at 006 dot co dot uk> <FF5157ED-FB5B-11D8-B23F-000A95880024 at bitjuggler dot com> <C315A887-FB5C-11D8-8A8E-0003937BDA2C at realsoftware dot com>
On Aug 31, 2004, at 10:48 AM, Jonathan Johnson wrote:

On Aug 31, 2004, at 9:42 AM, Thomas Reed wrote:

I have a number of callback routines that are defined to return MemoryBlocks, and they work just fine.

I'm surprised by that. The calling function will simply have the object's address returned, not the address of the memoryblock's data.

Actually, I lied -- I was looking at the wrong routines. I have some routines that return blocks of callbacks in a MemoryBlock, and mistakenly took them for the callbacks themselves. On reviewing, I *don't* actually have any callbacks that have parameters or return types other than integer.

-Thomas

Personal web page: <http://homepage.mac.com/thomasareed/> My shareware: <http://www.bitjuggler.com/> Free REALbasic code: <http://www.bitjuggler.com/extra/>

There are 10 kinds of people in the world -- those who understand binary
numbers and those who don't.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>