language = "C"
header = """/*
* PineAPPL - PDF-independent binning of phase space weights
* Copyright (C) 2020-2025 Christopher Schwan
* Copyright (C) 2024-2025 Tanjona R. Rabemananjara
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/"""
include_guard = "PINEAPPL_H"
include_version = true
sys_includes = ["stdbool.h", "stddef.h", "stdint.h"]
no_includes = true
cpp_compat = true
usize_is_size_t = true
style = "type"
[enum]
prefix_with_name = true
rename_variants = "ScreamingSnakeCase"
[export.rename]
"Channels" = "pineappl_channels"
"Conv" = "pineappl_conv"
"ConvType" = "pineappl_conv_type"
"FkAssumptions" = "pineappl_fk_assumptions"
"Grid" = "pineappl_grid"
"GridOptFlags" = "pineappl_gof"
"Interp" = "pineappl_interp"
"InterpMeth" = "pineappl_interp_meth"
"KeyVal" = "pineappl_keyval"
"Kinematics" = "pineappl_kinematics"
"Lumi" = "pineappl_lumi"
"Map" = "pineappl_map"
"OperatorCallback" = "pineappl_operator_callback"
"OperatorInfo" = "pineappl_operator_info"
"PidBasis" = "pineappl_pid_basis"
"ReweightMeth" = "pineappl_reweight_meth"
"ScaleFuncForm" = "pineappl_scale_func_form"
"SubGrid" = "pineappl_subgrid"
[parse]
parse_deps = true
include = ["pineappl"]
[macro_expansion]
bitflags = true