Flowdock
method

align

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: PackInfo
align(addr, align) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/fiddle/lib/fiddle/pack.rb, line 53
    def align(addr, align)
      d = addr % align
      if( d == 0 )
        addr
      else
        addr + (align - d)
      end
    end
Register or log in to add new notes.