Two senses, separated by era. In classical and Ming-Qing texts,
马枪 means a long lance used by mounted warriors —
枪 originally meant 'spear.' From the late 19th century, when
枪 took on its modern sense of 'gun,'
马枪 was repurposed for the cavalry carbine — a shortened, lighter rifle designed to be fired from horseback.