Retrieve the int value.
()
| 34 | * Retrieve the int value. |
| 35 | **/ |
| 36 | public int getInt() |
| 37 | { |
| 38 | Native.IntPtr res = new Native.IntPtr(); |
| 39 | if (!Native.getNumeralInt(getContext().nCtx(), getNativeObject(), res)) |
| 40 | throw new Z3Exception("Numeral is not an int"); |
| 41 | return res.value; |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Retrieve the 64-bit int value. |
no test coverage detected