diff options
Diffstat (limited to 'tools/llvmc/doc/LLVMC-Reference.rst')
-rw-r--r-- | tools/llvmc/doc/LLVMC-Reference.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst index 9eb927c..53049d7 100644 --- a/tools/llvmc/doc/LLVMC-Reference.rst +++ b/tools/llvmc/doc/LLVMC-Reference.rst @@ -565,7 +565,7 @@ or names in the configuration file. This can be easily achieved via the hooks mechanism. To write your own hooks, just add their definitions to the ``PluginMain.cpp`` or drop a ``.cpp`` file into the your plugin directory. Hooks should live in the ``hooks`` namespace -and have the signature ``const char* hooks::MyHookName ([const char* +and have the signature ``std::string hooks::MyHookName ([const char* Arg0 [ const char* Arg2 [, ...]]])``. They can be used from the ``cmd_line`` tool property:: |