summaryrefslogtreecommitdiff
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index bf18f110b5..cba14ce57a 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -988,9 +988,11 @@ def have_const(const, headers = nil, opt = "", &b)
end
STRING_OR_FAILED_FORMAT = "%s"
+# :stopdoc:
def STRING_OR_FAILED_FORMAT.%(x)
x ? super : "failed"
end
+# :startdoc:
# Returns the size of the given +type+. You may optionally specify additional
# +headers+ to search in for the +type+.