Skip to content
Snippets Groups Projects

ENH: Add retrieval and queries to Extern C interface

Merged Florian Spreckelsen requested to merge f-extended-c into f-files
2 unresolved threads
Compare and
10 files
+ 1447
144
Compare changes
  • Side-by-side
  • Inline
Files
10
+ 15
0
@@ -24,6 +24,21 @@
C API
=====
.. note::
When working with libcaosdb's C API keep the following in
mind. Delete all objects (transactions, entities, properties,
parents, ...) that you created using a `caosdb_..._create_...`
function and only those.
The underlying reason is that all C++ objects are realized in the
Extern C interface as mutable structs containing a void pointer to
the actuall C++ object which is not filled when initializing the
struct but after calling a create function instead. If the C++
object wasn't created using a create function, e.g., the parent
object when getting a parent of an entity, it is owned by another
object and deleted together with that object.
.. toctree::
:glob:
Loading