python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to call function/classes in c++ .so files, generated by Bazel, in Python?
Let's say I have a simple class in hello.h
#ifndef LIB_HELLO_GREET_H_
#define LIB_HELLO_GREET_H_
class A{
public:
int a = 0;
int b = 0;
int add(){
return a+b;
}
};
#endif
wi...
checkmark1234321
Votes: 0
Answers: 1
cppyy.ll.cast fails to cast char*
Let's assume we have a char* named chr_ptr from some external library.
I tried to cast this pointer to char* by using cppyy.ll.cast["char*"](chr_ptr)
Expected: cppyy.LowLevelView
Actual: s...
ErdoganO
Votes: 0
Answers: 1
SIGSEGV on doing "import cppyy"
I have a docker image in which cppyy import has started crashing. I tried comparing outputs of pip freeze and apt list --installed between working and non working docker images, but see no differences...
Rajat Verma
Votes: 0
Answers: 1
How to call Python from C++?
From the docs :
cppyy is an automatic, run-time, Python-C++ bindings generator, for
calling C++ from Python and Python from C++.
(Emphasis mine)
I don't see any instructions for doing the same, howe...
Tejas Garhewal
Votes: 0
Answers: 2