I'm gonna marry you someday. What does he mean by this?

One of my guy friends, who I've had history with said to me "I'm gonna marry you someday" is he just joking, or is there something more to it?