I think this is fine - pj_strlen simply returns the slen of the passed in str