Update layout.swig

Updating to match nokonoko/Pomf