home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!gatech!concert!samba!usenet
- From: Todd_Lewis@unc.edu (Todd M. Lewis)
- Subject: Re: What is (APTR) ?
- Message-ID: <1992Sep14.134005.8597@samba.oit.unc.edu>
- Sender: usenet@samba.oit.unc.edu
- Nntp-Posting-Host: guitar.oit.unc.edu
- Organization: UNC Office of Information Technology
- References: <copes.716466012@marsh>
- Date: Mon, 14 Sep 1992 13:40:05 GMT
- Lines: 23
-
- In article <copes.716466012@marsh> copes@cs.curtin.edu.au (Simon Cope) writes:
- >gs@TEETOT.ACUSD.EDU (Sir Greg Simon) writes:
- >>Could comebody please explain to me what it is:
- >> (APTR)
- >>Amiga-pointer?
- >>Ascii-pointer?
- >I think it stands for A Pointer. It is defined as ULONG * in the includes.
- >Definitely easier to type.
-
- It was "ULONG *" in the "old" includes, but it has been changed.
- Here's a clip from the 2.04 <exec/types.h> file. Please don't sue me C=:
-
- ] /* WARNING: APTR was redefined for the V36 Includes! APTR is a */
- ] /* 32-Bit Absolute Memory Pointer. C pointer math will not */
- ]/* operate on APTR -- use "ULONG *" instead. */
- ]#ifndef APTR_TYPEDEF
- ]#define APTR_TYPEDEF
- ]typedef void *APTR; /* 32-bit untyped pointer */
- ]#endif
-
- I think you are right, though. It stands for "A Pointer".
- --
- Todd M. Lewis / Todd_Lewis@unc.edu / utoddl@guitar.oit.unc.edu
-