x/xcbproto2go.rb
# generates a padding line for go from padding element.
generates a padding line for go from padding element.
generates a padding line for go from padding element .
def make_padding(el, count)
  size = get_attr(el, "bytes")
  name = "Padding#{count}"  
  return "  #{name.to_s.ljust(PAD-3)}  [#{size}]PADDING"
end
def make_padding ( el , count ) size = get_attr ( el , "bytes" ) name = "Padding#{count}" return "  #{name.to_s.ljust(PAD-3)}  [#{size}]PADDING" end
generates a padding line for go from padding element.
generates a padding line for go from padding element .
el
<not_specific>
count
<not_specific>