You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
319 B
C
22 lines
319 B
C
5 years ago
|
#include <stdlib.h>
|
||
|
#include "mld_c_dprec.h"
|
||
|
|
||
5 years ago
|
mld_c_dprec* mld_c_dprec_new()
|
||
5 years ago
|
{
|
||
|
mld_c_dprec* temp;
|
||
|
|
||
|
temp=(mld_c_dprec *) malloc(sizeof(mld_c_dprec));
|
||
|
temp->dprec=NULL;
|
||
|
return(temp);
|
||
|
}
|
||
|
|
||
|
|
||
5 years ago
|
int mld_c_dprec_delete(mld_c_dprec* p)
|
||
5 years ago
|
{
|
||
|
int iret;
|
||
|
iret=mld_c_dprecfree(p);
|
||
|
if (iret ==0) free(p);
|
||
|
return(iret);
|
||
|
}
|
||
|
|