pitrou commented on code in PR #13115:
URL: https://github.com/apache/arrow/pull/13115#discussion_r871513128


##########
docs/source/format/CDataInterface.rst:
##########
@@ -292,6 +295,8 @@ are available under the Apache License 2.0.
      void* private_data;
    };
 
+   #endif  // ARROW_C_DATA_H
+

Review Comment:
   We could add an explanation here, feel free to elaborate on this suggestion 
or do your own one :-)
   ```suggestion
   .. note::
      The canonical guard ``ARROW_C_DATA_INTERFACE`` is meant to avoid duplicate
      definitions if two projects copy the C data interface definitions in 
their own headers,
      and a third-party project includes from these two projects.
      It is therefore important that this guard is kept exactly as-is when 
these definitions
      are copied.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to