diff options
| -rw-r--r-- | xmake/core/base/process.lua | 5 | ||||
| -rw-r--r-- | xmake/core/base/socket.lua | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/xmake/core/base/process.lua b/xmake/core/base/process.lua index 65be506a9..68d02466b 100644 --- a/xmake/core/base/process.lua +++ b/xmake/core/base/process.lua @@ -53,6 +53,11 @@ function _subprocess:name() return self._NAME end +-- get cdata of process +function _subprocess:cproc() + return self._PROC +end + -- wait subprocess -- -- @param timeout the timeout diff --git a/xmake/core/base/socket.lua b/xmake/core/base/socket.lua index a20271ac2..1fe895c20 100644 --- a/xmake/core/base/socket.lua +++ b/xmake/core/base/socket.lua @@ -65,7 +65,7 @@ function _instance:family() return self._FAMILY end --- get cdata socket +-- get cdata of socket function _instance:csock() return self._SOCK end |
