ScummVM API documentation
AGS3::NumberPtr Class Reference

#include <types.h>

Public Member Functions

 NumberPtr (int value)
 
 NumberPtr (void *ptr)
 
 NumberPtr (const void *ptr)
 
 operator int32_t () const
 
intptr_t full () const
 
void * ptr () const
 
const void * cptr () const
 

Detailed Description

Basic class that can hold either a number or a pointer. Helps avoid some of the more nasty casts the codebase does, which was causing issues on 64-bit systems


The documentation for this class was generated from the following file: