mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
Learned more about gdb's dprintf. Made some changes.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
FILE* logfile = NULL;
|
||||
|
||||
extern "C" {
|
||||
int log_msgxxx (const char* format, ...) {
|
||||
int log_msg (const char* format, ...) {
|
||||
int n;
|
||||
va_list args;
|
||||
// init the variable length argument list
|
||||
@@ -46,7 +46,7 @@ int main (int argc, char** argv) {
|
||||
std::cout << std::setw(12) << n << std::setw(14) << nfact << std::endl;
|
||||
}
|
||||
|
||||
// fortranfunction_(&count);
|
||||
fortranfunction_(&count);
|
||||
|
||||
fclose(logfile);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user