@@ -99,8 +99,10 @@ constexpr param_list string_param_l_ = INIT_PAR_LIST(string_param_entries_);
9999
100100// / retrieves a pointer to the field of my_chemistry that's named ``name``.
101101// /
102- // / This returns a nullptr pointer if: my_chemistry is nullptr, the field doesn't
103- // / exist, or the field doesn't have the specified type
102+ // / This returns a nullptr pointer if:
103+ // / - my_chemistry is nullptr
104+ // / - the field doesn't exist
105+ // / - the field doesn't have the specified type
104106static void * get_field_ptr_ (chemistry_data* my_chemistry, const char * name,
105107 const param_list my_param_l)
106108{
@@ -152,8 +154,9 @@ char** local_chemistry_data_access_string(chemistry_data* my_chemistry,
152154// These are primarily needed for testing purposes and can be used for
153155// serialization.
154156
155- // returns the name of the ``i``th parameter of the specified type. This returns
156- // nullptr when there are ``i`` or fewer parameters of the specified type
157+ // / returns the name of the ``i``th parameter of the specified type. This
158+ // / returns nullptr when there are ``i`` or fewer parameters of the specified
159+ // / type
157160static const char * param_name_ (std::size_t i, const param_list my_param_list)
158161{ return (i < my_param_list.len ) ? my_param_list.entries [i].name : nullptr ; }
159162
@@ -180,4 +183,4 @@ unsigned int grackle_num_params(const char* type_name){
180183 return 0 ;
181184}
182185
183- } // extern "C"
186+ } // extern "C"
0 commit comments