In-line expanded calls on readline/putline in setptr() for speed