diff options
author | Michele Calgaro <[email protected]> | 2021-05-23 20:48:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-05-29 15:16:28 +0900 |
commit | 8b78a8791bc539bcffe7159f9d9714d577cb3d7d (patch) | |
tree | 1328291f966f19a22d7b13657d3f01a588eb1083 /lib/kross/python/cxx/README.html | |
parent | 95834e2bdc5e01ae1bd21ac0dfa4fa1d2417fae9 (diff) | |
download | koffice-8b78a8791bc539bcffe7159f9d9714d577cb3d7d.tar.gz koffice-8b78a8791bc539bcffe7159f9d9714d577cb3d7d.zip |
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kross/python/cxx/README.html')
-rw-r--r-- | lib/kross/python/cxx/README.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/kross/python/cxx/README.html b/lib/kross/python/cxx/README.html index d698725a..b29f5b15 100644 --- a/lib/kross/python/cxx/README.html +++ b/lib/kross/python/cxx/README.html @@ -176,8 +176,8 @@ is not compiled and linked to support C and C++.</p> <p>New in this release:</p> <ul> <li>Support for the Windows Linker /DELAYLOAD feature. Enable this feature by -defining PY_WIN32_DELAYLOAD_PYTHON_DLL when compiling IndirectPythonInterface.cxx -<li>Remove "CXX/Array.hxx" and associated code - its does not belong in PyCXX +defining PY_WIN32_DELAYLOAD_PYTHON_DLL when compiling IndirectPythonInterface.cpp +<li>Remove "CXX/Array.h" and associated code - its does not belong in PyCXX <li>Work on the docs. Mostly to clean up the HTML to allow more extensive work. <li>Reformated the sources to a consistent style. The mix of styles and tabs sizes was making working on the sources error prone. @@ -193,10 +193,10 @@ C++ header files. <p> <table cellspacing=0 cellpadding=3px> <tr><th>Old</th><th>New</th></tr> -<tr><td>#include "CXX_Config.h"</td><td>#include "CXX/Config.hxx"</td> -<tr><td>#include "CXX_Exception.h"</td><td>#include "CXX/Exception.hxx"</td> -<tr><td>#include "CXX_Extensions.h"</td><td>#include "CXX/Extensions.hxx"</td> -<tr><td>#include "CXX_Objects.h"</td><td>#include "CXX/Objects.hxx"</td> +<tr><td>#include "CXX_Config.h"</td><td>#include "CXX/Config.h"</td> +<tr><td>#include "CXX_Exception.h"</td><td>#include "CXX/Exception.h"</td> +<tr><td>#include "CXX_Extensions.h"</td><td>#include "CXX/Extensions.h"</td> +<tr><td>#include "CXX_Objects.h"</td><td>#include "CXX/Objects.h"</td> </table> <h3>Version 5 (May 18, 2000)</h3> @@ -254,7 +254,7 @@ coding so much that we think it is worth the disruption.</p> <p>To create an extension module, you inherit from class ExtensionModule templated on yourself: In the constructor, you make calls to register methods of this class with Python as extension module methods. In this example, two methods are added (this is a simplified -form of the example in Demo/example.cxx):</p> +form of the example in Demo/example.cpp):</p> <pre>class example_module : public ExtensionModule<example_module> { @@ -309,8 +309,8 @@ return its dictionary.</p> <h4>Creating extension objects</h4> <p>Creating extension objects is of course harder since you must specify how the object -behaves and give it methods. This is shown in some detail in the example range.h and range.cxx, -with the test routine rangetest.cxx, in directory Demo.</p> +behaves and give it methods. This is shown in some detail in the example range.h and range.cpp, +with the test routine rangetest.cpp, in directory Demo.</p> <p>Here is a brief overview. You create a class that inherits from PythonExtension templated upon itself. You override various methods from PythonExtension to implement @@ -426,8 +426,8 @@ setenv CCC "KCC -x" <p>before running makethis.py.</p> -<p>There is also a python.cxx file for making a stand-alone Python containing this -example, as well as a similar file arraytest.cxx for testing Array.</p> +<p>There is also a python.cpp file for making a stand-alone Python containing this +example, as well as a similar file arraytest.cpp for testing Array.</p> <p>Comments to [email protected], please.</p> |