[sourcegen] Add remaining functions

This commit is contained in:
Ingmar Schoegl 2025-01-25 17:45:32 -06:00 committed by Ray Speth
parent f684d85946
commit df28364c10
3 changed files with 5 additions and 6 deletions

View File

@ -16,7 +16,6 @@ recipes:
what: constructor # registers object in CLib storage
- name: nPhases
- name: phase
implements: Kinetics::thermo
uses: nPhases
what: constructor # registers object in CLib storage
- name: phaseIndex

View File

@ -90,8 +90,8 @@ class CLibSourceGenerator(SourceGenerator):
if ret_type == "char*":
# string expressions require special handling
returns = Param(
"int", "", "Actual length of string including \\0 "
"or -1 for exception handling.")
"int", "", "Actual length of string including string-terminating "
"null byte, \\0, or -1 for exception handling.")
buffer = [
Param("int", "bufLen", "Length of reserved array.", "in"),
Param(ret_type, "buf", "Returned string value.", "out")]

View File

@ -3,13 +3,13 @@
# This file is part of Cantera. See License.txt in the top-level directory or
# at https://cantera.org/license.txt for license and copyright information.
# Ignore these files entirely:
# List of files to ignore entirely:
ignore_files: []
# Ignore these specific functions:
# Dictionary of file names and list of functions to ignore.
# Example: ctkin_auto.yaml: [phase]
ignore_funcs:
ct_auto.yaml: [setLogWriter, setLogCallback]
ctkin_auto.yaml: [phase]
# Cabinets with associated includes
includes: