jbe/bsw@0: --[[-- jbe/bsw@6: slot.put_into( jbe@198: slot_ident, -- name of a slot jbe@198: string1, -- string to be written into the named slot jbe@198: string2, -- another string to be written into the named slot jbe/bsw@0: ... jbe/bsw@0: ) jbe/bsw@0: jbe/bsw@0: This function is used to write strings into a named slot. jbe/bsw@0: jbe@273: NOTE: ACCELERATED FUNCTION jbe@273: Do not change unless also you also update webmcp_accelerator.c jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: jbe/bsw@0: function slot.put_into(slot_ident, ...) jbe/bsw@0: local t = slot._data[slot_ident].string_fragments jbe@273: for i = 1, select("#", ...) do jbe@273: t[#t + 1] = select(i, ...) jbe/bsw@0: end jbe@198: end