summaryrefslogtreecommitdiff
path: root/include/ruby/3/newobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/newobj.h')
-rw-r--r--include/ruby/3/newobj.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/3/newobj.h b/include/ruby/3/newobj.h
index 89f7e9c30d..2ad48a66f6 100644
--- a/include/ruby/3/newobj.h
+++ b/include/ruby/3/newobj.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_NEWOBJ_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_NEWOBJ_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 Defines #NEWOBJ.
*/
-#ifndef RUBY3_NEWOBJ_H
-#define RUBY3_NEWOBJ_H
#include "ruby/3/cast.h"
#include "ruby/3/core/rbasic.h"
#include "ruby/3/dllexport.h"