Fix for assertion error when expanding macro.
[iverilog.git] / vpip / vpi_null.c
blobb14140bd83755c7ec1ae21a49923af07d87d3fbc
1 /*
2 * Copyright (c) 1999 Stephen Williams (steve@icarus.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 #ifdef HAVE_CVS_IDENT
20 #ident "$Id: vpi_null.c,v 1.3 2004/10/04 01:10:58 steve Exp $"
21 #endif
23 # include "vpi_priv.h"
25 static const struct __vpirt vpip_null_rt = {
35 static struct __vpiNull vpip_null = {
36 { &vpip_null_rt }
39 extern struct __vpiNull *vpip_get_null(void)
41 return &vpip_null;
45 * $Log: vpi_null.c,v $
46 * Revision 1.3 2004/10/04 01:10:58 steve
47 * Clean up spurious trailing white space.
49 * Revision 1.2 2002/08/12 01:35:05 steve
50 * conditional ident string using autoconfig.
52 * Revision 1.1 2001/03/14 19:27:44 steve
53 * Rearrange VPI support libraries.
55 * Revision 1.4 2000/10/06 23:11:39 steve
56 * Replace data references with function calls. (Venkat)
58 * Revision 1.3 2000/02/23 02:56:56 steve
59 * Macintosh compilers do not support ident.
61 * Revision 1.2 1999/12/15 04:01:14 steve
62 * Add the VPI implementation of $readmemh.
64 * Revision 1.1 1999/10/28 00:47:25 steve
65 * Rewrite vvm VPI support to make objects more
66 * persistent, rewrite the simulation scheduler
67 * in C (to interface with VPI) and add VPI support
68 * for callbacks.