netcdf-c/libcdmr/ast_debug.c

22 lines
325 B
C
Raw Normal View History

2011-04-17 04:56:36 +08:00
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "config.h"
#include <ast_runtime.h>
#include <ast_internal.h>
#include <ast_debug.h>
int
ast_catch(int code)
{
2011-06-11 02:47:26 +08:00
if(code != AST_NOERR && code != AST_EOF)
ast_breakpoint(code);
2011-04-17 04:56:36 +08:00
return code;
}
2011-06-11 02:47:26 +08:00
void
ast_breakpoint(int code)
{
}