/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _FCODE_PRIVATE_H
#define _FCODE_PRIVATE_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef DEBUG
#ifdef __cplusplus
extern "C" {
#endif
long get_interpreter_debug_level(void);
void set_interpreter_debug_level(long lvl);
printf y
{ y; }
#else
#ifdef __cplusplus
extern "C" {
#endif
#define DPRINTF(x, y)
#define DEBUGF(x, y)
#endif
extern fcode_env_t *initial_env;
extern int fcode_impl_count;
#define SET_TOKEN(t, f, n, a) \
fcode_impl_count++; \
#ifdef DEBUG
#ifdef NOTICE
#else
#define NOTICE
#endif
#else
#define ASSERT(x)
#define NOTICE
#endif
#ifndef USE_INTERRUPTS
#define CHECK_INTERRUPT
#define COMPLETE_INTERRUPT
#else
#endif
/* dforth_t manimpulations */
#define FALSE (0)
void install_handlers(fcode_env_t *);
void set_defer_actions(fcode_env_t *, int);
int (c)(void *, void *));
void *add_resource(fc_resource_t **, void *, int (c)(void *, void *));
void free_resource(fc_resource_t **, void *, int (c)(void *, void *));
void set_temporary_compile(fcode_env_t *);
void temporary_execute(fcode_env_t *);
#ifdef __cplusplus
}
#endif
#endif /* _FCODE_PRIVATE_H */