Cal. Penal Code § 12021.5
(c) As used in this section, the following definitions shall apply:
(1) “Detachable magazine” means a device that is designed or redesigned to do all of the following:
(2) “Detachable pistol magazine” means a device that is designed or redesigned to do all of the following:
(3) “Detachable shotgun magazine” means a device that is designed or redesigned to do all of the following: