From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 52B5C6EC57; Fri, 23 Jul 2021 14:12:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 52B5C6EC57 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1627038753; bh=sgAVrzwSPqn9Kn/Q099kFNmHPCzVRYbFJ0ur9CWX6EU=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=UXWXA3uX1nJhhSnnBX/sHhcUrn/7s8YysxlRng0qRchk3avmoj/H1H9Q4CItNX7jd q+5NRRY2s5Zgbrpts11WwCspz/AxvVFtpJwG4PAjtQow9Nu8A/i1khdEua1hL4EeVL vehiV6oE+btifW9GN5ZHbOiWgdGFm9or8uY54nx8= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 212266EC5C for ; Fri, 23 Jul 2021 14:07:44 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 212266EC5C Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1m6t1r-0004dl-Ns; Fri, 23 Jul 2021 14:07:44 +0300 To: tarantool-patches@dev.tarantool.org Date: Fri, 23 Jul 2021 14:07:20 +0300 Message-Id: <7b1fd17f20e0e17e7942f3f0a78dd26fa979a002.1627024646.git.vdavydov@tarantool.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD941C43E597735A9C36A98DBA789EBB6AEFB5A483DCE5E7579182A05F5380850404175B24E4682AAAB3B6B2596139F1B37F49D12DBD1A634C3D0D30A012DBAB5F6 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A3DED2DACB82E709C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7E9C30BC00893CB9AEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BBCA57AF85F7723F24690307DD84CF995AC9E2D557EA13D24CC7F00164DA146DAFE8445B8C89999728AA50765F79006370277CA7F994D7EF5389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8744B801E316CB65FF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8B041BD12FB6B4799375ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C16CF367659D795C0069D86DE097AF994069806DA2F2C20049C2B6934AE262D3EE7EAB7254005DCED6D78939848480BC71E0A4E2319210D9B64D260DF9561598F01A9E91200F654B02CB9166B85A600698E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D349379E7F8541B6C9A1C68610D12873FB8847133D6213EBC0797886D4A1A456B8198C8DBC39DEF4D211D7E09C32AA3244CA21FA6DFE633DDB6EEB085EEA8570FA7B018FE5BB746DCD1729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXiEX0g4jkpDtc/q0PmYTLv2 X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5D5E5E7916104A794C1CA4E9B49B452235274CEFED1673C562683ABF942079399BFB559BB5D741EB966A65DFF43FF7BE03240331F90058701C67EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH 10/20] lua/utils: make char ptr Lua CTIDs public X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladimir Davydov via Tarantool-patches Reply-To: Vladimir Davydov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" We'll need them to reimplement parts of net.box in C. --- src/lua/utils.c | 4 ++-- src/lua/utils.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lua/utils.c b/src/lua/utils.c index 34cec0eed928..ebc19206c856 100644 --- a/src/lua/utils.c +++ b/src/lua/utils.c @@ -44,8 +44,8 @@ static int luaT_newthread_ref = LUA_NOREF; static uint32_t CTID_STRUCT_IBUF; static uint32_t CTID_STRUCT_IBUF_PTR; -static uint32_t CTID_CHAR_PTR; -static uint32_t CTID_CONST_CHAR_PTR; +uint32_t CTID_CHAR_PTR; +uint32_t CTID_CONST_CHAR_PTR; uint32_t CTID_UUID; void * diff --git a/src/lua/utils.h b/src/lua/utils.h index 947d9240bf2f..969edca4528f 100644 --- a/src/lua/utils.h +++ b/src/lua/utils.h @@ -68,6 +68,8 @@ struct tt_uuid; */ extern struct lua_State *tarantool_L; +extern uint32_t CTID_CHAR_PTR; +extern uint32_t CTID_CONST_CHAR_PTR; extern uint32_t CTID_UUID; struct tt_uuid * -- 2.25.1