洩氏诹诹子 2 years ago
parent
commit
3c4b835ed6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      documentation/memory/memory.md

+ 1 - 1
documentation/memory/memory.md

@@ -233,7 +233,7 @@ Input parameters for rt_malloc_sethook()
 The hook function interface is as follows:
 
 ```c
-void hook(void *ptr, rt_size_t size)
+void hook(void *ptr, rt_size_t size);
 ```
 
 The following table describes the input parameters for the hook function: