update SRLatch API to include q_int