2 * Copyright 2008 Katholieke Universiteit Leuven
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
10 #define xCAT(A,B) A ## B
11 #define CAT(A,B) xCAT(A,B)
13 #define TYPE CAT(isl_,TYPE_BASE)
15 /* Read an object of type TYPE from "str" (using an isl_stream).
17 __isl_give TYPE
*FN(isl
,FN(TYPE_BASE
,read_from_str
))(isl_ctx
*ctx
,
21 isl_stream
*s
= isl_stream_new_str(ctx
, str
);
24 obj
= FN(isl_stream_read
,TYPE_BASE
)(s
);