projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
02f386704eca0aac9555be4f9e75bd5562a70009
[m6w6/ext-psi]
/
idl
/
compiler.c
1
#include <stdlib.h>
2
3
#include
"compiler.h"
4
5
PSI_Compiler
*
PSI_CompilerInit
(
PSI_Compiler
*
C
,
PSI_Validator
*
V
)
6
{
7
if
(!
C
) {
8
C
=
malloc
(
sizeof
(*
C
));
9
}
10
memset
(
C
,
0
,
sizeof
(*
C
));
11
12
PSI_DataExchange
((
PSI_Data
*)
C
, (
PSI_Data
*)
V
);
13
return
C
;
14
}