| 1 |
/* |
| 2 |
* Copyright(C) 1999-2023 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
#pragma once |
| 9 |
|
| 10 |
#include <string> |
| 11 |
|
| 12 |
namespace SEAMS { |
| 13 |
struct symrec; |
| 14 |
class Aprepro; |
| 15 |
|
| 16 |
bool arg_check(SEAMS::symrec *symbol, bool is_null); |
| 17 |
void conv_string(char *string); |
| 18 |
void new_string(const std::string &from, char **to); |
| 19 |
void new_string(const char *from, char **to); |
| 20 |
void concat_string(const char *from1, const char *from2, char **to); |
| 21 |
const char *get_temp_filename(); |
| 22 |
void math_error(const SEAMS::Aprepro &aprepro, const char *function); |
| 23 |
void math_error(const char *function); |
| 24 |
void yyerror(const SEAMS::Aprepro &aprepro, const std::string &s); |
| 25 |
void undefined_error(const SEAMS::Aprepro &aprepro, const std::string &var); |
| 26 |
void redefined_warning(const SEAMS::Aprepro &aprepro, const SEAMS::symrec *var); |
| 27 |
void warning(const SEAMS::Aprepro &aprepro, const std::string &var); |
| 28 |
void immutable_modify(const SEAMS::Aprepro &aprepro, const SEAMS::symrec *var); |
| 29 |
void set_type(const SEAMS::Aprepro &apr, SEAMS::symrec *var, int type); |
| 30 |
void cleanup_memory(); |
| 31 |
bool is_directory(const std::string &filepath); |
| 32 |
bool check_valid_var(const char *s); |
| 33 |
} // namespace SEAMS |