Project

General

Profile

« Previous | Next » 

Revision 9b89888d

Added by kosaki (Motohiro KOSAKI) about 12 years ago

  • include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New for
    attribute((alloc_size(params))).

  • include/ruby/defines.h (xmalloc, xmalloc2, xcalloc)
    (xrealloc, xrealloc2): Annotated by RUBY_ATTR_ALLOC_SIZE.

  • include/ruby/ruby.h (rb_alloc_tmp_buffer): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e