/**********************************************************************
 
	Copyright (C) 2003 Hirohisa MORI <joshua@nichibun.ac.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	This program is distributed in the hope that it will be 
	useful, but WITHOUT ANY WARRANTY; without even the 
	implied warranty of MERCHANTABILITY or FITNESS FOR A 
	PARTICULAR PURPOSE.

**********************************************************************/


#include	"xl.h"
#include	"memory_routine.h"

void gc_gb_env_pair();

XLISP_ENV *
new_env_pair(XLISP_ENV * e1,XLISP_ENV * e2)
{
XLISP_ENV * ret;
	ret = mmalloc(sizeof(XL_ENV_PAIR),gc_gb_env_pair);
	ret->type = GBET_PAIR;
	ret->p.env[0] = e1;
	ret->p.env[1] = e2;
	return ret;
}
