IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31647


Ignore:
Timestamp:
Jun 17, 2011, 1:02:59 PM (15 years ago)
Author:
bills
Message:

fix circular dependency in header files by moving the declaration of struct Graphdata to libdvo

Location:
trunk/Ohana/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/include/dvodb.h

    r31636 r31647  
    330330#define opihi_int int
    331331
     332#include "get_graphdata.h"
     333
    332334# endif
  • trunk/Ohana/src/libdvo/include/get_graphdata.h

    r31636 r31647  
    22#define GET_GRAPHDATA_H
    33
    4 #include "kapa.h"
     4// This was moved from kapa.h
     5
     6typedef struct graphdata {
     7  double xmin, xmax, ymin, ymax;
     8  int style, ptype, ltype, etype, ebar, color;
     9  double lweight, size;
     10  double ticktextPad;
     11  double labelPadXm, labelPadYm, labelPadXp, labelPadYp;
     12  double padXm, padXp, padYm, padYp;
     13  Coords coords;
     14  int flipeast, flipnorth;
     15  char axis[8], labels[8], ticks[8];
     16} Graphdata;
     17
    518
    619int GetGraphdata PROTO((Graphdata *data, int *kapa, char *name));
  • trunk/Ohana/src/libkapa/include/kapa.h

    r31559 r31647  
    8585} KapaSection;
    8686
    87 typedef struct {
     87#ifdef NOT_MOVED_TO_DVO
     88typedef struct graphdata {
    8889  double xmin, xmax, ymin, ymax;
    8990  int style, ptype, ltype, etype, ebar, color;
     
    9697  char axis[8], labels[8], ticks[8];
    9798} Graphdata;
     99#endif
    98100
    99101typedef struct {
Note: See TracChangeset for help on using the changeset viewer.