From 1644fdbc4aea52a63e4152ad0f5ec6a2b3d7e6ec Mon Sep 17 00:00:00 2001 From: chenshijun <chenshijun@aiotlink.com> Date: 星期四, 02 四月 2020 13:40:46 +0800 Subject: [PATCH] shmqueue 修改参数使用的标准化 --- shmMemory.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shmMemory.go b/shmMemory.go index c7806df..c85ae1e 100644 --- a/shmMemory.go +++ b/shmMemory.go @@ -21,7 +21,7 @@ import "C" import "unsafe" -func memcpy(dest, src []byte) int { +func Memcpy(dest, src []byte) int { n := len(src) if len(dest) < len(src) { n = len(dest) @@ -33,7 +33,7 @@ return n } -func memmove(dest, src []byte) int { +func Memmove(dest, src []byte) int { n := len(src) if len(dest) < len(src) { n = len(dest) -- Gitblit v1.8.0