free argument iterators.
This commit is contained in:
parent
6d94f2ea55
commit
a281675348
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#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
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
@ -67,11 +67,16 @@ int tf_getlongp(int *highvalue, int n)
|
||||||
rtn = (int) strtoul(value.value.str, end, 16);
|
rtn = (int) strtoul(value.value.str, end, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vpi_free_object(sys_i);
|
||||||
|
|
||||||
return rtn;
|
return rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: getlongp.c,v $
|
* $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
|
* Revision 1.2 2002/08/12 01:35:02 steve
|
||||||
* conditional ident string using autoconfig.
|
* conditional ident string using autoconfig.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#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
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
@ -58,11 +58,16 @@ int tf_getp(int n)
|
||||||
rtn = value.value.integer;
|
rtn = value.value.integer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vpi_free_object(sys_i);
|
||||||
|
|
||||||
return rtn;
|
return rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: getp.c,v $
|
* $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
|
* Revision 1.2 2002/08/12 01:35:02 steve
|
||||||
* conditional ident string using autoconfig.
|
* conditional ident string using autoconfig.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#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
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -59,10 +59,15 @@ void tf_putlongp(int n, int lowvalue, int highvalue)
|
||||||
val.format = vpiHexStrVal;
|
val.format = vpiHexStrVal;
|
||||||
val.value.str = str;
|
val.value.str = str;
|
||||||
(void)vpi_put_value(arg_h, &val, 0, vpiNoDelay);
|
(void)vpi_put_value(arg_h, &val, 0, vpiNoDelay);
|
||||||
|
|
||||||
|
vpi_free_object(sys_i);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: putlongp.c,v $
|
* $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
|
* Revision 1.2 2002/08/12 01:35:02 steve
|
||||||
* conditional ident string using autoconfig.
|
* conditional ident string using autoconfig.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#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
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
@ -55,10 +55,15 @@ void tf_putp(int n, int value)
|
||||||
val.format = vpiIntVal;
|
val.format = vpiIntVal;
|
||||||
val.value.integer = value;
|
val.value.integer = value;
|
||||||
(void)vpi_put_value(arg_h, &val, 0, vpiNoDelay);
|
(void)vpi_put_value(arg_h, &val, 0, vpiNoDelay);
|
||||||
|
|
||||||
|
vpi_free_object(sys_i);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: putp.c,v $
|
* $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
|
* Revision 1.2 2002/08/12 01:35:02 steve
|
||||||
* conditional ident string using autoconfig.
|
* conditional ident string using autoconfig.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue