Skip to content

Commit

Permalink
Note that RARRAY_PTR is read-only. This macro isn't used anywhere in …
Browse files Browse the repository at this point in the history
…RMagick yet, so the note is just an advisory.
  • Loading branch information
rmagick committed Mar 15, 2008
1 parent 94b515a commit 51bf63d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/RMagick/rmagick.h
@@ -1,4 +1,4 @@
/* $Id: rmagick.h,v 1.227 2008/03/07 01:40:36 rmagick Exp $ */
/* $Id: rmagick.h,v 1.228 2008/03/15 22:05:52 rmagick Exp $ */
/*=============================================================================
| Copyright (C) 2008 by Timothy P. Hunter
| Name: rmagick.h
Expand Down Expand Up @@ -117,6 +117,7 @@
#if !defined(RARRAY_LEN)
#define RARRAY_LEN(a) RARRAY((a))->len
#endif
// Matz says this macro is read-only! (see http://www.ruby-forum.com/topic/146072)
#if !defined(RARRAY_PTR)
#define RARRAY_PTR(a) RARRAY((a))->ptr
#endif
Expand Down

0 comments on commit 51bf63d

Please sign in to comment.