File: indirect_buffer.h

package info (click to toggle)
freecell-solver 5.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,256 kB
  • sloc: ansic: 28,700; perl: 10,050; xml: 5,600; python: 1,339; sh: 533; cpp: 275; makefile: 20; javascript: 8
file content (23 lines) | stat: -rw-r--r-- 850 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * This file is part of Freecell Solver. It is subject to the license terms in
 * the COPYING.txt file found in the top-level directory of this distribution
 * and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of
 * Freecell Solver, including this file, may be copied, modified, propagated,
 * or distributed except according to the terms contained in the COPYING file.
 *
 * Copyright (c) 2000 Shlomi Fish
 */
// indirect_buffer.h - declare the dll_ind_buf type.
#pragma once
#include "fcs_conf.h"

#ifdef INDIRECT_STACK_STATES
typedef char dll_ind_buf[MAX_NUM_STACKS << 7];
#define DECLARE_IND_BUF_T(ident) dll_ind_buf ident;
#define IND_BUF_T_PARAM(ident) , dll_ind_buf ident
#define PASS_IND_BUF_T(ident) , ident
#else
#define DECLARE_IND_BUF_T(ident)
#define IND_BUF_T_PARAM(ident)
#define PASS_IND_BUF_T(ident)
#endif