ILE C/C++ Compiler Reference


pointer

>>-#--pragma--pointer--(--typedef_name--,--pointer_type--)-----><
 
 

Description

Allows the use of iSeries pointer types:

A variable that is declared with a typedef that is named in the #pragma pointer directive has the pointer type associated with typedef_name in the directive. The <pointer.h> header file contains typedefs and #pragma directives for these pointer types. Including this header file in your source code allows you to use these typedefs directly for declaring pointer variables of these types.

Parameters

pointer_type
which can be one of:

SPCPTR
Space pointer

OPENPTR
Open pointer

SYSPTR
System pointer

INVPTR
Invocation pointer

LBLPTR
Label code pointer

SUSPENDPTR
Suspend pointer

Notes on Usage

The compiler issues a warning and ignores the #pragma pointer directive if any of the following errors occur:

The typedef named must be defined at file scope.

See WebSphere Development Studio: ILE C/C++ Programmer's Guide for more information about using iSeries pointers.


[ Top of Page | Previous Page | Next Page | Table of Contents ]