diff options
Diffstat (limited to 'src/runtime/c/pgf/expr.h')
| -rw-r--r-- | src/runtime/c/pgf/expr.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h index f4d5881c7..4c1bddbae 100644 --- a/src/runtime/c/pgf/expr.h +++ b/src/runtime/c/pgf/expr.h @@ -5,7 +5,6 @@ #include <gu/write.h> #include <gu/variant.h> #include <gu/seq.h> -#include <pgf/pgf.h> /// Abstract syntax trees /// @file @@ -125,6 +124,15 @@ typedef struct { PgfExpr expr; } PgfExprImplArg; +typedef float prob_t; + +typedef struct { + prob_t prob; + PgfExpr expr; +} PgfExprProb; + +extern GU_DECLARE_TYPE(PgfExprProb, struct); + int pgf_expr_arity(PgfExpr expr); |
