loader_aw

Load OBJ/MTL file formats
git clone git://git.meso-star.fr/loader_aw.git
Log | Files | Refs | README | LICENSE

aw_c.h (1279B)


      1 /* Copyright (C) 2014-2017, 2020-2023 Vincent Forest (vaplv@free.fr)
      2  *
      3  * This program is free software: you can redistribute it and/or modify
      4  * it under the terms of the GNU General Public License as published by
      5  * the Free Software Foundation, either version 3 of the License, or
      6  * (at your option) any later version.
      7  *
      8  * This program is distributed in the hope that it will be useful,
      9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     11  * GNU Lesser General Public License for more details.
     12  *
     13  * You should have received a copy of the GNU Lesser General Public License
     14  * along with this program. If not, see <http://www.gnu.org/licenses/>. */
     15 
     16 #ifndef AW_C_H
     17 #define AW_C_H
     18 
     19 #include "aw.h"
     20 
     21 extern LOCAL_SYM res_T
     22 parse_doubleX
     23   (double* dblX,
     24    const unsigned int count_min,
     25    const unsigned int count_max,
     26    const double range_min,
     27    const double range_max,
     28    const double default_value,
     29    char** tk_ctxt);
     30 
     31 extern LOCAL_SYM res_T
     32 setup_default_logger
     33   (struct mem_allocator* allocator,
     34    struct logger* logger,
     35    const char* prefix_info, /* May be NULL */
     36    const char* prefix_error, /* May be NULL */
     37    const char* prefix_warning); /* May be NULL */
     38 
     39 #endif /* AW_C_H */
     40