In J.M. Barrie's original Peter Pan, Captain Hook is not eaten. He loses a sword fight to Peter, falls into the crocodile's mouth, but escapes. The crocodile (with its telltale clock) continues pursuing him. Some adaptations may alter his fate, but canonically he survives.