I think, where you use the term "machiolation" (and probably mean machicolation), what you are actually describing are battlements. They are somewhat similar, so the confusion is warranted (In fact, I was actually pretty sure that I was the wrong party at first).