Revision: 42416
http://brlcad.svn.sourceforge.net/brlcad/?rev=42416&view=rev
Author: brlcad
Date: 2011-01-18 20:12:13 +0000 (Tue, 18 Jan 2011)
Log Message:
-----------
ws consistency update, elim forward decls
Modified Paths:
--------------
brlcad/trunk/src/libged/attr.c
brlcad/trunk/src/libged/ged.c
brlcad/trunk/src/libged/ged_private.h
Modified: brlcad/trunk/src/libged/attr.c
===================================================================
--- brlcad/trunk/src/libged/attr.c 2011-01-18 19:55:26 UTC (rev 42415)
+++ brlcad/trunk/src/libged/attr.c 2011-01-18 20:12:13 UTC (rev 42416)
@@ -27,7 +27,7 @@
#include <string.h>
-#include "ged.h"
+#include "./ged_private.h"
/*
@@ -45,9 +45,9 @@
ged_attr(struct ged *gedp, int argc, const char *argv[])
{
size_t i;
- struct directory *dp;
+ struct directory *dp;
struct bu_attribute_value_set avs;
- struct bu_attribute_value_pair *avpp;
+ struct bu_attribute_value_pair *avpp;
static const char *usage = "{set|get|show|rm|append} object [key [value]
... ]";
GED_CHECK_DATABASE_OPEN(gedp, GED_ERROR);
@@ -102,7 +102,7 @@
for (i=3; i<(size_t)argc; i++) {
val = bu_avs_get(&avs, argv[i]);
- if ( !val ) {
+ if (!val) {
bu_vls_printf(&gedp->ged_result_str,
"Object %s does not have a %s attribute\n",
dp->d_namep,
@@ -120,7 +120,7 @@
bu_avs_free(&avs);
- } else if ( BU_STR_EQUAL( argv[1], "set" ) ) {
+ } else if (BU_STR_EQUAL(argv[1], "set")) {
/* setting attribute/value pairs */
if ((argc - 3) % 2) {
bu_vls_printf(&gedp->ged_result_str,
@@ -131,7 +131,7 @@
i = 3;
while (i < (size_t)argc) {
- if(BU_STR_EQUAL( argv[i], "region") && BU_STR_EQUAL(argv[i+1],
"R")) {
+ if (BU_STR_EQUAL(argv[i], "region") && BU_STR_EQUAL(argv[i+1],
"R")) {
dp->d_flags |= DIR_REGION;
}
(void)bu_avs_add(&avs, argv[i], argv[i+1]);
@@ -149,7 +149,7 @@
} else if (BU_STR_EQUAL(argv[1], "rm")) {
i = 3;
while (i < (size_t)argc) {
- if(BU_STR_EQUAL( argv[i], "region")) {
+ if (BU_STR_EQUAL(argv[i], "region")) {
dp->d_flags = dp->d_flags & ~(DIR_REGION);
}
(void)bu_avs_remove(&avs, argv[i]);
@@ -164,7 +164,7 @@
/* avs is freed by db5_replace_attributes() */
- } else if ( BU_STR_EQUAL( argv[1], "append" ) ) {
+ } else if (BU_STR_EQUAL(argv[1], "append")) {
if ((argc-3)%2) {
bu_vls_printf(&gedp->ged_result_str,
"Error: attribute names and values must be in
pairs!!!\n");
@@ -174,11 +174,11 @@
i = 3;
while (i < (size_t)argc) {
const char *old_val;
- if(BU_STR_EQUAL( argv[i], "region") && BU_STR_EQUAL(argv[i+1],
"R")) {
+ if (BU_STR_EQUAL(argv[i], "region") && BU_STR_EQUAL(argv[i+1],
"R")) {
dp->d_flags |= DIR_REGION;
}
old_val = bu_avs_get(&avs, argv[i]);
- if ( !old_val ) {
+ if (!old_val) {
(void)bu_avs_add(&avs, argv[i], argv[i+1]);
} else {
struct bu_vls vls;
@@ -192,7 +192,7 @@
i += 2;
}
- if (db5_replace_attributes( dp, &avs, gedp->ged_wdbp->dbip)) {
+ if (db5_replace_attributes(dp, &avs, gedp->ged_wdbp->dbip)) {
bu_vls_printf(&gedp->ged_result_str,
"Error: failed to update attributes\n");
bu_avs_free(&avs);
@@ -201,79 +201,79 @@
/* avs is freed by db5_replace_attributes() */
- } else if ( BU_STR_EQUAL( argv[1], "show" ) ) {
+ } else if (BU_STR_EQUAL(argv[1], "show")) {
int max_attr_name_len=0;
int tabs1=0;
/* pretty print */
- if ( dp->d_flags & DIR_COMB ) {
- if ( dp->d_flags & DIR_REGION ) {
- bu_vls_printf( &gedp->ged_result_str, "%s region:\n", argv[2] );
+ if (dp->d_flags & DIR_COMB) {
+ if (dp->d_flags & DIR_REGION) {
+ bu_vls_printf(&gedp->ged_result_str, "%s region:\n", argv[2]);
} else {
- bu_vls_printf( &gedp->ged_result_str, "%s combination:\n",
argv[2] );
+ bu_vls_printf(&gedp->ged_result_str, "%s combination:\n",
argv[2]);
}
- } else if ( dp->d_flags & DIR_SOLID ) {
- bu_vls_printf( &gedp->ged_result_str, "%s %s:\n", argv[2],
- rt_functab[dp->d_minor_type].ft_label );
+ } else if (dp->d_flags & DIR_SOLID) {
+ bu_vls_printf(&gedp->ged_result_str, "%s %s:\n", argv[2],
+ rt_functab[dp->d_minor_type].ft_label);
} else {
- switch ( dp->d_major_type ) {
+ switch (dp->d_major_type) {
case DB5_MAJORTYPE_ATTRIBUTE_ONLY:
- bu_vls_printf( &gedp->ged_result_str, "%s global:\n",
argv[2] );
+ bu_vls_printf(&gedp->ged_result_str, "%s global:\n",
argv[2]);
break;
case DB5_MAJORTYPE_BINARY_MIME:
- bu_vls_printf( &gedp->ged_result_str, "%s binary(mime):\n",
argv[2] );
+ bu_vls_printf(&gedp->ged_result_str, "%s binary(mime):\n",
argv[2]);
break;
case DB5_MAJORTYPE_BINARY_UNIF:
- bu_vls_printf( &gedp->ged_result_str, "%s %s:\n", argv[2],
- binu_types[dp->d_minor_type] );
+ bu_vls_printf(&gedp->ged_result_str, "%s %s:\n", argv[2],
+ binu_types[dp->d_minor_type]);
break;
}
}
- if ( argc == 3 ) {
+ if (argc == 3) {
/* just display all attributes */
avpp = avs.avp;
- for ( i=0; i < avs.count; i++, avpp++ ) {
+ for (i=0; i < avs.count; i++, avpp++) {
int len;
- len = (int)strlen( avpp->name );
- if ( len > max_attr_name_len ) {
+ len = (int)strlen(avpp->name);
+ if (len > max_attr_name_len) {
max_attr_name_len = len;
}
}
tabs1 = 2 + max_attr_name_len/8;
avpp = avs.avp;
- for ( i=0; i < avs.count; i++, avpp++ ) {
+ for (i=0; i < avs.count; i++, avpp++) {
const char *c;
int tabs2;
int k;
int len;
- bu_vls_printf( &gedp->ged_result_str, "\t%s", avpp->name );
- len = (int)strlen( avpp->name );
+ bu_vls_printf(&gedp->ged_result_str, "\t%s", avpp->name);
+ len = (int)strlen(avpp->name);
tabs2 = tabs1 - 1 - len/8;
- for ( k=0; k<tabs2; k++ ) {
- bu_vls_putc( &gedp->ged_result_str, '\t' );
+ for (k=0; k<tabs2; k++) {
+ bu_vls_putc(&gedp->ged_result_str, '\t');
}
c = avpp->value;
- while ( *c ) {
- bu_vls_putc( &gedp->ged_result_str, *c );
- if ( *c == '\n' ) {
- for ( k=0; k<tabs1; k++ ) {
- bu_vls_putc( &gedp->ged_result_str, '\t' );
+ while (*c) {
+ bu_vls_putc(&gedp->ged_result_str, *c);
+ if (*c == '\n') {
+ for (k=0; k<tabs1; k++) {
+ bu_vls_putc(&gedp->ged_result_str, '\t');
}
}
c++;
}
- bu_vls_putc( &gedp->ged_result_str, '\n' );
+ bu_vls_putc(&gedp->ged_result_str, '\n');
}
} else {
const char *val;
int len;
/* show just the specified attributes */
- for ( i=0; i<(size_t)argc; i++ ) {
- len = (int)strlen( argv[i] );
- if ( len > max_attr_name_len ) {
+ for (i=0; i<(size_t)argc; i++) {
+ len = (int)strlen(argv[i]);
+ if (len > max_attr_name_len) {
max_attr_name_len = len;
}
}
Modified: brlcad/trunk/src/libged/ged.c
===================================================================
--- brlcad/trunk/src/libged/ged.c 2011-01-18 19:55:26 UTC (rev 42415)
+++ brlcad/trunk/src/libged/ged.c 2011-01-18 20:12:13 UTC (rev 42416)
@@ -50,25 +50,6 @@
#include "./ged_private.h"
-int ged_decode_dbip(const char *dbip_string, struct db_i **dbipp);
-void ged_drawable_init(struct ged_drawable *gdp);
-void ged_drawable_close(struct ged_drawable *gdp);
-
-void
-ged_close(struct ged *gedp)
-{
- if (gedp == GED_NULL)
- return;
-
- wdb_close(gedp->ged_wdbp);
- gedp->ged_wdbp = RT_WDB_NULL;
-
- ged_drawable_close(gedp->ged_gdp);
- gedp->ged_gdp = GED_DRAWABLE_NULL;
-
- ged_free(gedp);
-}
-
/* FIXME: this function should not exist. passing pointers as strings
* indicates a failure in design and lazy coding.
*/
@@ -85,6 +66,7 @@
return GED_OK;
}
+
void
ged_drawable_close(struct ged_drawable *gdp)
{
@@ -95,7 +77,24 @@
bu_free((genptr_t)gdp, "struct ged_drawable");
}
+
void
+ged_close(struct ged *gedp)
+{
+ if (gedp == GED_NULL)
+ return;
+
+ wdb_close(gedp->ged_wdbp);
+ gedp->ged_wdbp = RT_WDB_NULL;
+
+ ged_drawable_close(gedp->ged_gdp);
+ gedp->ged_gdp = GED_DRAWABLE_NULL;
+
+ ged_free(gedp);
+}
+
+
+void
ged_drawable_init(struct ged_drawable *gdp)
{
if (gdp == GED_DRAWABLE_NULL)
@@ -113,6 +112,7 @@
ged_init_qray(gdp);
}
+
void
ged_free(struct ged *gedp)
{
@@ -128,6 +128,7 @@
bu_free((genptr_t)gedp, "struct ged");
}
+
void
ged_init(struct ged *gedp)
{
@@ -144,6 +145,7 @@
ged_drawable_init(gedp->ged_gdp);
}
+
void
ged_view_init(struct ged_view *gvp)
{
@@ -232,6 +234,7 @@
ged_view_update(gvp);
}
+
struct ged *
ged_open(const char *dbtype, const char *filename, int existing_only)
{
@@ -243,7 +246,7 @@
rt_new_material_head(MATER_NULL);
if (BU_STR_EQUAL(dbtype, "db")) {
- struct db_i *dbip;
+ struct db_i *dbip;
if ((dbip = _ged_open_dbip(filename, existing_only)) == DBI_NULL) {
/* Restore RT's material head */
@@ -258,7 +261,7 @@
} else if (BU_STR_EQUAL(dbtype, "file")) {
wdbp = wdb_fopen(filename);
} else {
- struct db_i *dbip;
+ struct db_i *dbip;
/* FIXME: this call should not exist. passing pointers as
* strings indicates a failure in design and lazy coding.
@@ -299,13 +302,13 @@
/* Could core dump */
RT_CK_DBI(dbip);
- if (BU_STR_EQUAL(dbtype, "disk" ))
+ if (BU_STR_EQUAL(dbtype, "disk"))
wdbp = wdb_dbopen(dbip, RT_WDB_TYPE_DB_DISK);
else if (BU_STR_EQUAL(dbtype, "disk_append"))
wdbp = wdb_dbopen(dbip, RT_WDB_TYPE_DB_DISK_APPEND_ONLY);
- else if (BU_STR_EQUAL(dbtype, "inmem" ))
+ else if (BU_STR_EQUAL(dbtype, "inmem"))
wdbp = wdb_dbopen(dbip, RT_WDB_TYPE_DB_INMEM);
- else if (BU_STR_EQUAL(dbtype, "inmem_append" ))
+ else if (BU_STR_EQUAL(dbtype, "inmem_append"))
wdbp = wdb_dbopen(dbip, RT_WDB_TYPE_DB_INMEM_APPEND_ONLY);
else {
/* Restore RT's material head */
@@ -322,6 +325,7 @@
return gedp;
}
+
/**
* @brief
* Open/Create the database and build the in memory directory.
@@ -333,7 +337,7 @@
/* open database */
if (((dbip = db_open(filename, "r+w")) == DBI_NULL) &&
- ((dbip = db_open(filename, "r" )) == DBI_NULL)) {
+ ((dbip = db_open(filename, "r")) == DBI_NULL)) {
/*
* Check to see if we can access the database
@@ -361,30 +365,31 @@
return dbip;
}
+
void
-_ged_print_node(struct ged *gedp,
- struct directory *dp,
- size_t pathpos,
- int indentSize,
- char prefix,
- unsigned cflag,
- int displayDepth,
- int currdisplayDepth)
+_ged_print_node(struct ged *gedp,
+ struct directory *dp,
+ size_t pathpos,
+ int indentSize,
+ char prefix,
+ unsigned cflag,
+ int displayDepth,
+ int currdisplayDepth)
{
size_t i;
- struct directory *nextdp;
- struct rt_db_internal intern;
- struct rt_comb_internal *comb;
+ struct directory *nextdp;
+ struct rt_db_internal intern;
+ struct rt_comb_internal *comb;
if (cflag && !(dp->d_flags & DIR_COMB))
return;
for (i=0; i<pathpos; i++)
- if ( indentSize < 0 ) {
+ if (indentSize < 0) {
bu_vls_printf(&gedp->ged_result_str, "\t");
} else {
int j;
- for ( j=0; j<indentSize; j++ ) {
+ for (j=0; j<indentSize; j++) {
bu_vls_printf(&gedp->ged_result_str, " ");
}
}
@@ -405,8 +410,8 @@
return;
/*
- * This node is a combination (eg, a directory).
- * Process all the arcs (eg, directory members).
+ * This node is a combination (eg, a directory).
+ * Process all the arcs (eg, directory members).
*/
if (rt_db_get_internal(&intern, dp, gedp->ged_wdbp->dbip, (fastf_t *)NULL,
&rt_uniresource) < 0) {
@@ -429,12 +434,12 @@
}
node_count = db_tree_nleaves(comb->tree);
if (node_count > 0) {
- rt_tree_array = (struct rt_tree_array *)bu_calloc( node_count,
- sizeof( struct
rt_tree_array ), "tree list" );
+ rt_tree_array = (struct rt_tree_array *)bu_calloc(node_count,
+ sizeof(struct
rt_tree_array), "tree list");
actual_count = (struct rt_tree_array *)db_flatten_tree(
rt_tree_array, comb->tree, OP_UNION,
- 1, &rt_uniresource ) - rt_tree_array;
- BU_ASSERT_SIZE_T( actual_count, ==, node_count );
+ 1, &rt_uniresource) - rt_tree_array;
+ BU_ASSERT_SIZE_T(actual_count, ==, node_count);
comb->tree = TREE_NULL;
} else {
actual_count = 0;
Modified: brlcad/trunk/src/libged/ged_private.h
===================================================================
--- brlcad/trunk/src/libged/ged_private.h 2011-01-18 19:55:26 UTC (rev
42415)
+++ brlcad/trunk/src/libged/ged_private.h 2011-01-18 20:12:13 UTC (rev
42416)
@@ -37,15 +37,15 @@
__BEGIN_DECLS
-#define _GED_V4_MAXNAME NAMESIZE
+#define _GED_V4_MAXNAME NAMESIZE
#define _GED_TERMINAL_WIDTH 80
#define _GED_COLUMNS ((_GED_TERMINAL_WIDTH + _GED_V4_MAXNAME - 1) /
_GED_V4_MAXNAME)
#define _GED_MAX_LEVELS 12
-#define _GED_CPEVAL 0
-#define _GED_LISTPATH 1
-#define _GED_LISTEVAL 2
-#define _GED_EVAL_ONLY 3
+#define _GED_CPEVAL 0
+#define _GED_LISTPATH 1
+#define _GED_LISTEVAL 2
+#define _GED_EVAL_ONLY 3
#define _GED_WIREFRAME 0
#define _GED_SHADED_MODE_BOTS 1
@@ -60,53 +60,57 @@
struct bu_vls name; /**< name associated with region id */
};
+
struct _ged_id_to_names {
struct bu_list l;
int id; /**< starting id (i.e. region id or air
code) */
struct _ged_id_names headName; /**< head of list of names */
};
+
struct _ged_client_data {
- struct ged *gedp;
- struct ged_display_list *gdlp;
- int wireframe_color_override;
- int wireframe_color[3];
- int draw_nmg_only;
- int nmg_triangulate;
- int draw_wireframes;
- int draw_normals;
- int draw_solid_lines_only;
- int draw_no_surfaces;
- int shade_per_vertex_normals;
- int draw_edge_uses;
- int fastpath_count; /*
statistics */
- int do_not_draw_nmg_solids_during_debugging;
- struct bn_vlblock *draw_edge_uses_vbp;
- int shaded_mode_override;
- fastf_t transparency;
- int dmode;
- int hiddenLine;
+ struct ged *gedp;
+ struct ged_display_list *gdlp;
+ int wireframe_color_override;
+ int wireframe_color[3];
+ int draw_nmg_only;
+ int nmg_triangulate;
+ int draw_wireframes;
+ int draw_normals;
+ int draw_solid_lines_only;
+ int draw_no_surfaces;
+ int shade_per_vertex_normals;
+ int draw_edge_uses;
+ int fastpath_count; /* statistics */
+ int do_not_draw_nmg_solids_during_debugging;
+ struct bn_vlblock *draw_edge_uses_vbp;
+ int shaded_mode_override;
+ fastf_t transparency;
+ int dmode;
+ int hiddenLine;
/* bigE related members */
- struct application *ap;
- struct bu_ptbl leaf_list;
- struct rt_i *rtip;
- time_t start_time;
- time_t etime;
- long nvectors;
- int do_polysolids;
- int num_halfs;
+ struct application *ap;
+ struct bu_ptbl leaf_list;
+ struct rt_i *rtip;
+ time_t start_time;
+ time_t etime;
+ long nvectors;
+ int do_polysolids;
+ int num_halfs;
};
+
struct _ged_trace_data {
- struct ged *gtd_gedp;
- struct directory *gtd_path[_GED_MAX_LEVELS];
- struct directory *gtd_obj[_GED_MAX_LEVELS];
- mat_t gtd_xform;
- int gtd_objpos;
- int gtd_prflag;
- int gtd_flag;
+ struct ged *gtd_gedp;
+ struct directory *gtd_path[_GED_MAX_LEVELS];
+ struct directory *gtd_obj[_GED_MAX_LEVELS];
+ mat_t gtd_xform;
+ int gtd_objpos;
+ int gtd_prflag;
+ int gtd_flag;
};
+
/* defined in globals.c */
extern struct solid _FreeSolid;
@@ -117,36 +121,36 @@
/* defined in ged.c */
BU_EXTERN (void _ged_print_node,
- (struct ged *gedp,
+ (struct ged *gedp,
struct directory *dp,
- size_t pathpos,
- int indentSize,
- char prefix,
- unsigned flags,
- int displayDepth,
- int currdisplayDepth));
+ size_t pathpos,
+ int indentSize,
+ char prefix,
+ unsigned flags,
+ int displayDepth,
+ int currdisplayDepth));
BU_EXTERN (struct db_i *_ged_open_dbip,
(const char *filename,
int existing_only));
/* defined in color.c */
BU_EXTERN (void _ged_color_putrec,
- (struct ged *gedp,
- struct mater *mp));
+ (struct ged *gedp,
+ struct mater *mp));
BU_EXTERN (void _ged_color_zaprec,
- (struct ged *gedp,
- struct mater *mp));
+ (struct ged *gedp,
+ struct mater *mp));
/* defined in comb.c */
BU_EXTERN (struct directory *_ged_combadd,
- (struct ged *gedp,
- struct directory *objp,
- char *combname,
- int region_flag,
- int relation,
- int ident,
- int air));
+ (struct ged *gedp,
+ struct directory *objp,
+ char *combname,
+ int region_flag,
+ int relation,
+ int ident,
+ int air));
/* defined in draw.c */
BU_EXTERN (void _ged_cvt_vlblock_to_solids,
@@ -155,13 +159,13 @@
char *name,
int copy));
BU_EXTERN (int _ged_invent_solid,
- (struct ged *gedp,
- char *name,
- struct bu_list *vhead,
- long int rgb,
- int copy,
- fastf_t transparency,
- int dmode));
+ (struct ged *gedp,
+ char *name,
+ struct bu_list *vhead,
+ long int rgb,
+ int copy,
+ fastf_t transparency,
+ int dmode));
BU_EXTERN (int _ged_drawtrees,
(struct ged *gedp,
int argc,
@@ -183,30 +187,30 @@
/* defined in erase.c */
BU_EXTERN (void _ged_eraseobjpath,
- (struct ged *gedp,
- int argc,
- const char *argv[],
- const int noisy,
- const int all,
- const int skip_first));
+ (struct ged *gedp,
+ int argc,
+ const char *argv[],
+ const int noisy,
+ const int all,
+ const int skip_first));
BU_EXTERN (void _ged_eraseobjall,
- (struct ged *gedp,
- struct directory **dpp,
- int skip_first));
+ (struct ged *gedp,
+ struct directory **dpp,
+ int skip_first));
BU_EXTERN (void _ged_eraseobj,
- (struct ged *gedp,
- struct directory **dpp,
- int skip_first));
+ (struct ged *gedp,
+ struct directory **dpp,
+ int skip_first));
BU_EXTERN (void _ged_eraseAllNamesFromDisplay,
- (struct ged *gedp,
- const char *name,
- const int skip_first));
+ (struct ged *gedp,
+ const char *name,
+ const int skip_first));
BU_EXTERN (void _ged_eraseAllPathsFromDisplay,
- (struct ged *gedp,
- const char *path,
- const int skip_first));
+ (struct ged *gedp,
+ const char *path,
+ const int skip_first));
BU_EXTERN (void _ged_freeDisplayListItem,
- (struct ged *gedp,
+ (struct ged *gedp,
struct ged_display_list *gdlp));
@@ -217,20 +221,20 @@
/* defined in get_obj_bounds.c */
BU_EXTERN (int _ged_get_obj_bounds,
- (struct ged *gedp,
- int argc,
- const char *argv[],
- int use_air,
- point_t rpp_min,
- point_t rpp_max));
+ (struct ged *gedp,
+ int argc,
+ const char *argv[],
+ int use_air,
+ point_t rpp_min,
+ point_t rpp_max));
BU_EXTERN (int _ged_get_obj_bounds2,
- (struct ged *gedp,
- int argc,
- const char *argv[],
- struct _ged_trace_data *gtdp,
- point_t rpp_min,
- point_t rpp_max));
+ (struct ged *gedp,
+ int argc,
+ const char *argv[],
+ struct _ged_trace_data *gtdp,
+ point_t rpp_min,
+ point_t rpp_max));
/* defined in how.c */
BU_EXTERN (struct directory **_ged_build_dpp,
@@ -239,9 +243,9 @@
/* defined in list.c */
BU_EXTERN(void _ged_do_list,
- (struct ged *gedp,
- struct directory *dp,
- int verbose));
+ (struct ged *gedp,
+ struct directory *dp,
+ int verbose));
/* defined in loadview.c */
extern vect_t _ged_eye_model;
@@ -272,13 +276,13 @@
/* defined in ls.c */
BU_EXTERN(void _ged_vls_col_pr4v,
- (struct bu_vls *vls,
- struct directory **list_of_names,
- int num_in_list,
- int no_decorate));
+ (struct bu_vls *vls,
+ struct directory **list_of_names,
+ int num_in_list,
+ int no_decorate));
BU_EXTERN(struct directory ** _ged_getspace,
- (struct db_i *dbip,
- int num_entries));
+ (struct db_i *dbip,
+ int num_entries));
/* defined in preview.c */
BU_EXTERN (void _ged_setup_rt,
@@ -323,7 +327,7 @@
vect_t eye_model));
BU_EXTERN (void _ged_rt_output_handler,
(ClientData clientData,
- int mask));
+ int mask));
/* defined in rtcheck.c */
BU_EXTERN (void _ged_wait_status,
@@ -456,15 +460,15 @@
/* defined in tops.c */
struct directory **
-_ged_dir_getspace(struct db_i *dbip,
- int num_entries);
+_ged_dir_getspace(struct db_i *dbip,
+ int num_entries);
/* defined in trace.c */
BU_EXTERN (void _ged_trace,
- (struct directory *dp,
- int pathpos,
- const mat_t old_xlate,
- struct _ged_trace_data *gtdp));
+ (struct directory *dp,
+ int pathpos,
+ const mat_t old_xlate,
+ struct _ged_trace_data *gtdp));
/* defined in translate_extrude.c */
BU_EXTERN (int _ged_translate_extrude,
@@ -486,21 +490,21 @@
BU_EXTERN (void _ged_mat_aet,
(struct ged_view *gvp));
BU_EXTERN (int _ged_do_rot,
- (struct ged *gedp,
- char coord,
- mat_t rmat,
- int (*func)()));
+ (struct ged *gedp,
+ char coord,
+ mat_t rmat,
+ int (*func)()));
BU_EXTERN (int _ged_do_slew,
- (struct ged *gedp,
- vect_t svec));
+ (struct ged *gedp,
+ vect_t svec));
BU_EXTERN (int _ged_do_tra,
- (struct ged *gedp,
- char coord,
- vect_t tvec,
- int (*func)()));
+ (struct ged *gedp,
+ char coord,
+ vect_t tvec,
+ int (*func)()));
BU_EXTERN (int _ged_do_zoom,
- (struct ged *gedp,
- fastf_t sf));
+ (struct ged *gedp,
+ fastf_t sf));
/* defined in ged_util.c */
BU_EXTERN (int _ged_results_append_str,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits