diff Plugins/Include/orthanc/OrthancCPlugin.h @ 1602:292bce3f54ed

JpegWriter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Sep 2015 13:06:39 +0200
parents 6cccf1da35c6
children fd0464ce1962
line wrap: on
line diff
--- a/Plugins/Include/orthanc/OrthancCPlugin.h	Tue Sep 01 12:42:49 2015 +0200
+++ b/Plugins/Include/orthanc/OrthancCPlugin.h	Tue Sep 01 13:06:39 2015 +0200
@@ -27,7 +27,8 @@
  *    The plugin must return a string containing its version number.
  *
  * The name and the version of a plugin is only used to prevent it
- * from being loaded twice.
+ * from being loaded twice. Note that, in C++, it is mandatory to
+ * declare these functions within an <tt>extern "C"</tt> section.
  * 
  * To ensure multi-threading safety, the various REST callbacks are
  * guaranteed to be executed in mutual exclusion since Orthanc