gl: make closure helper inline