X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fir.h;h=fbab3fc5d4d7450f52eafb5589166697f33d2fb5;hp=5a0b7291412afdd97914bfe0c1b1ca105525d8a7;hb=44ba0e9facc91003bf3ef32876f8b8ac5439c3c1;hpb=da11926c1039ae4c880915db508d69614ec7c79e diff --git a/include/ir.h b/include/ir.h index 5a0b729..fbab3fc 100644 --- a/include/ir.h +++ b/include/ir.h @@ -2,8 +2,11 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ir.h,v 1.11 2000/05/05 02:37:31 kevin Exp $ +** $Id: ir.h,v 1.12 2000/05/07 12:46:19 kevin Exp $ ** $Log: ir.h,v $ +** Revision 1.12 2000/05/07 12:46:19 kevin +** made c++ compatible +** ** Revision 1.11 2000/05/05 02:37:31 kevin ** renamed phmelm to pelm ** @@ -63,6 +66,10 @@ #ifndef IR_H #define IR_H +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #ifdef MPI_CT #define MPI_MAX_PROCESS 128 struct mpi_ct_st @@ -500,4 +507,8 @@ int detarray_read(RAYSUM *rs, DETARRAY *darray, const int view_num); int detarray_write(RAYSUM *rs, const DETARRAY *darray, const int view_num); int raysum_print(const RAYSUM *rs); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif