free argument iterators.

This commit is contained in:
steve 2003-03-15 05:42:39 +00:00
parent 6d94f2ea55
commit a281675348
4 changed files with 24 additions and 4 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: getlongp.c,v 1.2 2002/08/12 01:35:02 steve Exp $"
#ident "$Id: getlongp.c,v 1.3 2003/03/15 05:42:39 steve Exp $"
#endif
#include <stdlib.h>
@ -67,11 +67,16 @@ int tf_getlongp(int *highvalue, int n)
rtn = (int) strtoul(value.value.str, end, 16);
}
vpi_free_object(sys_i);
return rtn;
}
/*
* $Log: getlongp.c,v $
* Revision 1.3 2003/03/15 05:42:39 steve
* free argument iterators.
*
* Revision 1.2 2002/08/12 01:35:02 steve
* conditional ident string using autoconfig.
*

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: getp.c,v 1.2 2002/08/12 01:35:02 steve Exp $"
#ident "$Id: getp.c,v 1.3 2003/03/15 05:42:39 steve Exp $"
#endif
#include <assert.h>
@ -58,11 +58,16 @@ int tf_getp(int n)
rtn = value.value.integer;
}
vpi_free_object(sys_i);
return rtn;
}
/*
* $Log: getp.c,v $
* Revision 1.3 2003/03/15 05:42:39 steve
* free argument iterators.
*
* Revision 1.2 2002/08/12 01:35:02 steve
* conditional ident string using autoconfig.
*

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: putlongp.c,v 1.2 2002/08/12 01:35:02 steve Exp $"
#ident "$Id: putlongp.c,v 1.3 2003/03/15 05:42:39 steve Exp $"
#endif
#include <stdio.h>
@ -59,10 +59,15 @@ void tf_putlongp(int n, int lowvalue, int highvalue)
val.format = vpiHexStrVal;
val.value.str = str;
(void)vpi_put_value(arg_h, &val, 0, vpiNoDelay);
vpi_free_object(sys_i);
}
/*
* $Log: putlongp.c,v $
* Revision 1.3 2003/03/15 05:42:39 steve
* free argument iterators.
*
* Revision 1.2 2002/08/12 01:35:02 steve
* conditional ident string using autoconfig.
*

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: putp.c,v 1.2 2002/08/12 01:35:02 steve Exp $"
#ident "$Id: putp.c,v 1.3 2003/03/15 05:42:39 steve Exp $"
#endif
#include <assert.h>
@ -55,10 +55,15 @@ void tf_putp(int n, int value)
val.format = vpiIntVal;
val.value.integer = value;
(void)vpi_put_value(arg_h, &val, 0, vpiNoDelay);
vpi_free_object(sys_i);
}
/*
* $Log: putp.c,v $
* Revision 1.3 2003/03/15 05:42:39 steve
* free argument iterators.
*
* Revision 1.2 2002/08/12 01:35:02 steve
* conditional ident string using autoconfig.
*