19 #ifndef CLIPSUTILITY_H
20 #define CLIPSUTILITY_H
40 void get_argument(
void* env,
int argposition,
double& value);
41 void get_argument(
void* env,
int argposition,
float& value);
42 void get_argument(
void* env,
int argposition,
short& value);
43 void get_argument(
void* env,
int argposition,
short unsigned& value);
44 void get_argument(
void* env,
int argposition,
int& value);
45 void get_argument(
void* env,
int argposition,
unsigned& value);
46 void get_argument(
void* env,
int argposition,
long& value);
47 void get_argument(
void* env,
int argposition, std::string& value);
49 void get_argument(
void* env,
int argposition, Value& value);
50 void get_argument(
void* env,
int argposition,
void*& value);
53 throw std::logic_error(
"clipsmm: Adding function with invalid return type");
62 template <>
inline char get_return_code<std::string>() {
return 's'; }
68 throw std::logic_error(
"clipsmm: Adding function with invalid argument type");
75 template <>
inline char get_argument_code<std::string>() {
return 's'; }