aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/3/intern/class.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/intern/class.h')
-rw-r--r--include/ruby/3/intern/class.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/3/intern/class.h b/include/ruby/3/intern/class.h
index a4778bdf27..36b873f4df 100644
--- a/include/ruby/3/intern/class.h
+++ b/include/ruby/3/intern/class.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_INTERN_CLASS_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_INTERN_CLASS_H
+/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
@@ -18,8 +20,6 @@
* extension libraries. They could be written in C++98.
* @brief Public APIs related to ::rb_cClass/::rb_cModule.
*/
-#ifndef RUBY3_INTERN_CLASS_H
-#define RUBY3_INTERN_CLASS_H
#include "ruby/3/dllexport.h"
#include "ruby/3/value.h"
#include "ruby/backward/2/stdarg.h"