mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 13:04:27 +01:00
pybind11: fix and generalize example
This commit is contained in:
@@ -6,3 +6,4 @@ my_class_test = class_test.ClassTest("abc");
|
||||
print(my_class_test.getName())
|
||||
my_class_test.setName("012")
|
||||
print(my_class_test.getName())
|
||||
assert(my_class_test.getName() == my_class_test.name)
|
||||
|
||||
Reference in New Issue
Block a user