3 * $Id: field.c,v 1.1 2001/05/07 17:30:13 mdw Exp $
5 * [Abstract field operations *
6 * (c) 2001 Straylight/Edgeware
9 /*----- Licensing notice --------------------------------------------------*
11 * This file is part of Catacomb.
13 * Catacomb is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU Library General Public License as
15 * published by the Free Software Foundation; either version 2 of the
16 * License, or (at your option) any later version.
18 * Catacomb is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Library General Public License for more details.
23 * You should have received a copy of the GNU Library General Public
24 * License along with Catacomb; if not, write to the Free
25 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
29 /*----- Revision history --------------------------------------------------*
32 * Revision 1.1 2001/05/07 17:30:13 mdw
33 * Add an internal-representation no-op function.
37 /*----- Header files ------------------------------------------------------*/
42 /*----- Main code ---------------------------------------------------------*/
44 /* --- @field_id@ --- *
46 * Arguments: @field *f@ = pointer to a field
47 * @mp *d@ = a destination element
48 * @mp *x@ = a source element
50 * Returns: The result element.
52 * Use: An identity operation which can be used if your field has no
53 * internal representation.
56 mp *field_id(field *f, mp *d, mp *x)
63 /*----- That's all, folks -------------------------------------------------*/