[#1966] wired inp clear functions into apidef_t and removed them from the pack table