summaryrefslogtreecommitdiff
path: root/include/ruby/3/core/rstruct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/core/rstruct.h')
-rw-r--r--include/ruby/3/core/rstruct.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/3/core/rstruct.h b/include/ruby/3/core/rstruct.h
index 55db1b3fc0..d474697e4e 100644
--- a/include/ruby/3/core/rstruct.h
+++ b/include/ruby/3/core/rstruct.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_RSTRUCT_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_RSTRUCT_H
+/**
* @file
* @author Ruby developers <[email protected]>
* @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 Routines to manipulate struct ::RStruct.
*/
-#ifndef RUBY3_RSTRUCT_H
-#define RUBY3_RSTRUCT_H
#include "ruby/3/attr/artificial.h"
#include "ruby/3/dllexport.h"
#include "ruby/3/value.h"