/*
 * $Id: ptr2.cpp 2260 2014-08-27 23:53:23Z johnoel $
 *
 * Author: David Fournier
 * Copyright (c) 2008-2012 Regents of the University of California
 */
/**
 * \file
 * Description not yet available.
 */
#include "fvar.hpp"
#ifdef __ZTC__
#include <iostream.hpp>
#endif

#ifdef __TURBOC__
#pragma hdrstop
#pragma options -h-
#include <iostream.h>
#endif
#include <stdlib.h>

#if defined(__ZTC__)
  #if defined( __NDPX__) || defined(__SUN__)
void * _farptr_fromlong(long int i)
  #else
void * _farptr_fromlong(unsigned long int i)
  #endif
{
  return( (void *) i);
}
#endif

/**
 * Description not yet available.
 * \param
 */
#if !defined(__MINGW64__)
long int _farptr_tolong(void * ptr)
{
  return( (long int) ptr);
}
#endif

#if defined(__ZTC__)
/**
 * Description not yet available.
 * \param
 */
void * _farptr_norm(void * ptr)
{
  return(ptr);
}
#endif
