@@ -7,14 +7,15 @@ C++ Language Interoperability Layer
77Loading Dynamic shared library
88==============================
99
10- The CppInterop comes with using it is a dynamic shared library,
11- **libclangCppInterOp.so ** which resides in the CppInterOp/build/lib/.
10+ The CppInterop comes with using it is a dynamic shared library, which resides
11+ in the build/lib/ after building CppInterOp following the instructions in
12+ :doc: `Installation and usage <InstallationAndUsage >` .
1213
1314.. code-block :: bash
1415
1516 libInterop = ctypes.CDLL(" ./libclangCppInterOp.so" )
1617
17- The above method of usage is for Python; for C, we can include the headers of
18+ The above method of usage is for Python on Linux ; for C, we can include the headers of
1819the library. Including this library in our program enables the user to use
1920the abilities of CppInterOp. CppInterOp helps programmers with multiple
2021verifications such as isClass, isBoolean, isStruct, and many more in different
@@ -33,21 +34,6 @@ and LLVM.
3334We can consider clang-repl as a state manager, where CppInterOp allows you to
3435query the state from the state manager. Thereafter, cppyy uses this to create
3536Python objects for C++.
36-
37- .. code-block :: bash
38-
39- # Apply the patches for development
40- compgen -G " ../patches/llvm/clang16-*.patch" > /dev/null
41- && find ../patches/llvm/clang16-* .patch -printf " %f\n"
42- && git apply ../patches/llvm/clang16-* .patch
43-
44- .. code-block :: bash
45-
46- # Use the versions of llvm with above patches applied
47- -DClang_DIR=/usr/lib/llvm-16/build/lib/cmake/clang\
48- -DLLVM_DIR=/usr/lib/llvm-16/build/lib/cmake/llvm
49-
50-
5137This section briefly describes all the key **features ** offered by
5238CppInterop. If you are just getting started with CppInterop, then this is the
5339best place to start.
@@ -318,4 +304,4 @@ with the Installation And Usage Guide.
318304
319305.. _CPyCppyy : https://github.com/wlav/CPyCppyy
320306
321- .. _cppyy-backend : https://github.com/wlav/cppyy-backend
307+ .. _cppyy-backend : https://github.com/wlav/cppyy-backend
0 commit comments