GetObjType Macro

Microchip Graphics Library

Microchip Graphics Library
GetObjType Macro
C
#define GetObjType(pObj) ((OBJ_HEADER *)pObj)->type
Overview

This macro returns the object type.

Input Parameters
Input Parameters 
Description 
pObj 
Pointer to the object of interest. 
Returns

Returns the OBJ_TYPE of the object.

Preconditions

none

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved