/* %Z%%M% %I% %E% */

/*
 * Copyright (c) 1994, 1995 by Wayne C. Gramlich.
 * All rights reserved.
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * for any purpose is hereby granted without fee provided that the above
 * copyright notice and this permission are retained.  The author makes
 * no representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

/*
 * This file provide a bunch of interface routines for dealing with
 * {xlib_pixel} objects.
 */

#ifndef XLIB_H
#include "xlib.h"
#endif

/* The initial object: */
Xlib_pixel xlib_pixel___initial = 0;

/*
 * There are currently no interface routines for {Xlib_pixel} objects.
 */


/*
 * xlib_pixel__external__initialize()
 *	This routine will initialize the {xlib_pixel} module.
 */
void
xlib_pixel__external__initialize()
{
    /* Do nothing. */
}

/*
 * xlib_pixel__unsigned_convert(xlib_pixel)
 *	This procedure will convert {xlib_pixel} into an {unsigned}
 *	number and return it.
 */
unsigned
xlib_pixel__unsigned_convert(
    Xlib_pixel xlib_pixel)
{
    return (unsigned)xlib_pixel;
}

/*
 * unsigned__xlib_pixel_convert(number)
 *	This procedure will convert {number} into a {xlib_pixel}
 *	and return it.
 */
Xlib_pixel
unsigned__xlib_pixel_convert(
    unsigned number)
{
    return (Xlib_pixel)number;
}

