mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[sourcegen] Add remaining functions
This commit is contained in:
parent
f684d85946
commit
df28364c10
@ -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
|
||||
|
@ -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")]
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user