/usr/include/falcon/pcode.h is in falconpl-dev 0.9.6.9-git20120606-2.
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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | /*
FALCON - The Falcon Programming Language.
FILE: pcode.h
Utilities to manage the Falcon Virtual Machine pseudo code.
-------------------------------------------------------------------
Author: Giancarlo Niccolai
Begin: Fri, 24 Jul 2009 19:42:40 +0200
-------------------------------------------------------------------
(C) Copyright 2009: the FALCON developers (see list in AUTHORS file)
See LICENSE file for licensing details.
*/
#ifndef FALCON_PCODE_H_
#define FALCON_PCODE_H_
#include <falcon/setup.h>
#include <falcon/types.h>
#include <falcon/pcodes.h>
namespace Falcon
{
class Module;
class FALCON_DYN_SYM PCODE
{
public:
/** Rotates endianity in IDs and numbers inside the PCode.
*
* \param code the raw pcode sequence
* \param codeSize the size in bytes of the code sequence.
* \param into true to actually endianize the code.
*/
static void deendianize( byte* code, uint32 codeSize, bool into = false );
/** Rotates endianity in IDs and numbers inside the PCode.
*
* \param code the raw pcode sequence
* \param codeSize the size in bytes of the code sequence.
*/
static void endianize( byte* code, uint32 codeSize )
{
deendianize( code, codeSize, true );
}
static void convertEndianity( uint32 paramType, byte* targetArea, bool into=false );
static uint32 advanceParam( uint32 paramType );
};
}
#endif /* FALCON_PCODE_H_ */
/* end of pcode.h */
|