cctools
jx_binary.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2022 The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See the file COPYING for details.
5 */
6 
7 #ifndef JX_BINARY_H
8 #define JX_BINARY_H
9 
17 #include <stdio.h>
18 #include "jx.h"
19 
26 int jx_binary_write( FILE *stream, struct jx *j );
27 
33 struct jx * jx_binary_read( FILE *stream );
34 
35 #endif
jx.h
jx_binary_read
struct jx * jx_binary_read(FILE *stream)
Read a JX expression from a file in binary form.
jx_binary_write
int jx_binary_write(FILE *stream, struct jx *j)
Write a JX expression to a file in binary form.
jx
JX value representing any expression type.
Definition: jx.h:117