Skip to content

Commit

Permalink
added another header file
Browse files Browse the repository at this point in the history
  • Loading branch information
jason committed Oct 19, 2001
1 parent bb90cb7 commit 7c2a9cf
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
50 changes: 50 additions & 0 deletions mi_label_prototypes.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#ifndef DEF_mi_label_prototypes
#define DEF_mi_label_prototypes

public BOOLEAN get_label_lookup_var(
int minc_id,
int *label_var );

public BOOLEAN read_label_lookup(
int minc_id,
int *n_labels,
int *values[],
STRING *labels[] );

public BOOLEAN write_label_lookup(
int minc_id,
int n_labels,
int values[],
STRING labels[] );

public void add_label_to_list(
int *n_labels,
int *values[],
STRING *labels[],
int value_to_add,
STRING label_to_add );

public BOOLEAN delete_label_from_list(
int *n_labels,
int *values[],
STRING *labels[],
int value_to_delete );

public BOOLEAN lookup_value_for_label(
int n_labels,
int values[],
STRING labels[],
STRING label,
int *value );

public BOOLEAN lookup_label_for_value(
int n_labels,
int values[],
STRING labels[],
int value,
STRING *label );

public void print_label(
int value,
STRING label );
#endif
20 changes: 20 additions & 0 deletions special_geometry.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#ifndef DEF_SPECIAL_GEOMETRY
#define DEF_SPECIAL_GEOMETRY

#include <bicpl.h>
#include <interval.h>
#include <tri_mesh.h>

#ifndef public
#define public extern
#define public_was_defined_here
#endif

#include <sp_geom_prototypes.h>

#ifdef public_was_defined_here
#undef public
#undef public_was_defined_here
#endif

#endif

0 comments on commit 7c2a9cf

Please sign in to comment.