Main Page   Reference Manual   Namespace List   Compound List   Namespace Members   Compound Members   File Members  

sys.h File Reference

Go to the source code of this file.

Namespaces

namespace  libcwd

Variables

int const builtin_return_address_offset
 Offset to __builtin_return_address() needed to get the correct line number from location_ct.


Detailed Description

Do not include this header file directly, instead include a custom "sys.h" .

Variable Documentation

int const libcwd::builtin_return_address_offset
 

Offset to __builtin_return_address() needed to get the correct line number from location_ct.

Example
 libcwd::location_ct loc((char*)__builtin_return_address(0) + libcwd::builtin_return_address_offset);

Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.