asInt method

int asInt()

Implementation

int asInt() => checked(() => api.PyLong_AsLong(ptr));