From eedf8c12efdcf2c540b4f3bf36313205a21be78c Mon Sep 17 00:00:00 2001 From: Manuel Reimer Date: Tue, 19 Sep 2023 10:25:00 +0200 Subject: [PATCH] Updated The VDR Plugin System (markdown) --- The-VDR-Plugin-System.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/The-VDR-Plugin-System.md b/The-VDR-Plugin-System.md index ee0f211..876feec 100644 --- a/The-VDR-Plugin-System.md +++ b/The-VDR-Plugin-System.md @@ -420,7 +420,7 @@ these arguments. As with any normal C program, the strings pointed to by arg will survive the entire lifetime of the plugin, so it is safe to store pointers to these values inside the plugin. Here's an example: -

+
 bool cPluginHello::ProcessArgs(int argc, char *argv[])
 {
   // Implement command line argument processing here if applicable.
@@ -442,7 +442,7 @@ bool cPluginHello::ProcessArgs(int argc, char *argv[])
         }
   return true;
 }
-

+

The return value must be true if all options have been processed correctly, or false in case of an error. The first plugin that returns