From 58b69a6cf969303b6feecf4eaa8763e75a07eb6b Mon Sep 17 00:00:00 2001 From: chaoyangc Date: Fri, 26 Nov 2021 16:14:07 +0800 Subject: [PATCH] test Signed-off-by: chaoyangc --- lite-python/demo/Hi3861/test.c | 3 ++- lite-python/dtpython.c | 29 +---------------------------- 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/lite-python/demo/Hi3861/test.c b/lite-python/demo/Hi3861/test.c index 6a854b3..0545e0a 100755 --- a/lite-python/demo/Hi3861/test.c +++ b/lite-python/demo/Hi3861/test.c @@ -25,6 +25,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *****************************************************************************/ +shijian const char* c_math_py = { "import math\r\n" @@ -283,4 +284,4 @@ const char* c_another_py = "\r\n" " def SayHello(self):" "\r\n" " print(\'My name is:\', self.name)" "\r\n" -}; \ No newline at end of file +}; diff --git a/lite-python/dtpython.c b/lite-python/dtpython.c index 19df0ab..3e8dab4 100755 --- a/lite-python/dtpython.c +++ b/lite-python/dtpython.c @@ -1,31 +1,4 @@ -/**************************************************************************** - -MIT License - -Copyright (c) 2021 唐佐林 -WeChat : delphi_tang -EMail: delphi_tang@dt4sw.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -*****************************************************************************/ - +shijian #include "py/compile.h" #include "py/runtime.h" #include "py/repl.h" -- Gitee