mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
add .h
This commit is contained in:
parent
fbd44fda32
commit
69a4510d0e
6
tools/pikaCompiler/libpikabinder/libpikabinder.h
Normal file
6
tools/pikaCompiler/libpikabinder/libpikabinder.h
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
void pika_binder(void);
|
@ -2,7 +2,10 @@ import Arm2D
|
|||||||
import PikaStdLib
|
import PikaStdLib
|
||||||
import ctypes
|
import ctypes
|
||||||
import module
|
import module
|
||||||
|
import PikaDebug
|
||||||
|
|
||||||
|
pdb = PikaDebug.Debuger()
|
||||||
|
pdb.set_trace()
|
||||||
line = Arm2D.Line()
|
line = Arm2D.Line()
|
||||||
res = line.on()
|
res = line.on()
|
||||||
line.off()
|
line.off()
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
import module2
|
||||||
|
import PikaDebug
|
||||||
|
|
||||||
|
def test():
|
||||||
|
return 'test'
|
@ -91,8 +91,8 @@ impl Compiler {
|
|||||||
Ok(file) => file,
|
Ok(file) => file,
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
println!(
|
println!(
|
||||||
" [warning]: file: '{}{}.pyi' no found",
|
" [warning]: file: '{}{}.pyi' or '{}{}.py' no found",
|
||||||
self.source_path, file_name
|
self.source_path, file_name, self.source_path, file_name
|
||||||
);
|
);
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user