/usr/include/falcon/itm_deref.h is in falconpl-dev 0.9.6.9-git20120606-2.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | /*
FALCON - The Falcon Programming Language.
FILE: itm_deref.h
Inline implementation of Item::dereference( byte code )
-------------------------------------------------------------------
Author: Giancarlo Niccolai
Begin: Thu Feb 3 2005
-------------------------------------------------------------------
(C) Copyright 2004: the FALCON developers (see list in AUTHORS file)
See LICENSE file for licensing details.
*/
/** \file
Inline implementation of Item::dereference( byte code )
As the pcodes may vary greatly and this inline function is needed only in a
small set of internal files (i.e. vm_run.cpp), the declaration of this inline
function has been moved to a separate file.
*/
#ifndef flc_itm_deref_H
#define flc_itm_deref_H
#include <falcon/item.h>
#include <falcon/pcodes.h>
namespace Falcon {
inline Item *Item::dereference( byte opcode ) const {
if ( type() != FLC_ITEM_REFERENCE ) //|| opcode >= P_TRAV )
return this;
return &asReference()->origin();
}
}
#endif
/* end of itm_deref.h */
|