freke/erlang_protobuffs — pull request #10 by lordnull (2011-10-24 15:48:52+00:00)
Title: Alter how extensions are handled to allow passage over module boundaries

The existing method of handling extensions kept the record from being able to pass module boundaries if one module was aware of different extensions than another. The differing sizes would cause 'badrecord' errors. By putting the extensions in a special field accessible from a dict, the record can pass module boundaries without causing errors, and keeping the extensions available to modules that 'know where to look'.