realbasic-nug
[Top] [All Lists]

Declare Constants

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Declare Constants
From: Thomas Cunningham <mauitom at maui dot net>
Date: Sat, 31 Jul 2004 18:23:16 -1000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
> I'd just use a MemoryBlock for a ConstUniCharArrayPtr.
> UniCharArrayOffset is a UInt32, so you can just declare it as Integer.
> In general, you'll use MemoryBlock for any other string buffer structs.
> 
> Charles Yeomans

Charles,

May I ask you if using an Rb integer will work for this constant
enumeration?

typedef UInt32 ATSUAttributeTag;
enum {
 kATSUPriorityJustOverrideTag = 275L
...

I was looking through ATSUI docs and the Attribute Tags and they list them
with this trailing letter "L". Just curious what this was and how we would
define it in Rb.

Your writing a printed book on declares, correct?

Thomas C.


_______________________________________________
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>
  • Declare Constants, Thomas Cunningham <=