Fix documentation
This commit is contained in:
1 parent
a317c07124
commit
ab21b3f30d
27 files changed
+2137
-1043
No files matched your search
@@ -1,6 +1,9 @@
|
||||
/* CppWidget V1 -- "before your edit". See PluginV2/src/CppWidget.cpp
|
||||
/**
|
||||
* @file CppWidget.cpp
|
||||
* @brief CppWidget V1 -- "before your edit". See PluginV2/src/CppWidget.cpp
|
||||
* for "after": same three exports change behavior together, exactly
|
||||
* like PluginV1/src/Plugin.cpp's plain-C functions do.
|
||||
* like PluginV1/src/Plugin.cpp's plain-C functions do. Every member
|
||||
* defined here is documented in ../Shared/CppWidgetApi.h.
|
||||
*/
|
||||
#include "CppWidgetApi.h"
|
||||
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
/* PluginV1 -- "before your edit". See PluginV2/src/Plugin.cpp for
|
||||
/**
|
||||
* @file Plugin.cpp
|
||||
* @brief PluginV1 -- "before your edit". See PluginV2/src/Plugin.cpp for
|
||||
* "after"; the two deliberately export the identical set of names
|
||||
* (minus plugin_legacy_feature, removed in V2) so HotReloadContext can
|
||||
* line them up. See ../Shared/PluginApi.h for what each export is
|
||||
* there to demonstrate.
|
||||
* there to demonstrate (and for the documentation of every function
|
||||
* defined here).
|
||||
*/
|
||||
#include "PluginApi.h"
|
||||
|
||||
@@ -22,9 +25,8 @@ int plugin_legacy_feature(int input)
|
||||
}
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
int plugin_tiny_function(int input)
|
||||
void plugin_tiny_function(void)
|
||||
{
|
||||
return input + 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user