瀏覽代碼

Minor fix in example plugins

Serj Kalichev 11 年之前
父節點
當前提交
1f2fd68170
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      examples/explugin/anplug.c
  2. 1 1
      examples/explugin/explugin.c

+ 1 - 1
examples/explugin/anplug.c

@@ -2,7 +2,7 @@
 #include <stdio.h>
 #include <clish/plugin.h>
 
-int anplug_fn(clish_context_t *context, char **out)
+int anplug_fn(void *context, char **out)
 {
 	printf("anplug: Another plugin\n");
 	return 0;

+ 1 - 1
examples/explugin/explugin.c

@@ -2,7 +2,7 @@
 #include <stdio.h>
 #include <clish/plugin.h>
 
-int explugin_fn(clish_context_t *context, char **out)
+int explugin_fn(void *context, char **out)
 {
 	printf("explugin: Hello world\n");
 	return 0;