(Symbol name, Sort[] domain, R range)
| 583 | } |
| 584 | |
| 585 | public final <R extends Sort> FuncDecl<R> mkPropagateFunction(Symbol name, Sort[] domain, R range) |
| 586 | { |
| 587 | checkContextMatch(name); |
| 588 | checkContextMatch(domain); |
| 589 | checkContextMatch(range); |
| 590 | long f = Native.solverPropagateDeclare( |
| 591 | this.nCtx(), |
| 592 | name.getNativeObject(), |
| 593 | AST.arrayLength(domain), |
| 594 | AST.arrayToNative(domain), |
| 595 | range.getNativeObject()); |
| 596 | return new FuncDecl<>(this, f); |
| 597 | } |
| 598 | |
| 599 | |
| 600 | /** |
nothing calls this directly
no test coverage detected