Revision: 42448
http://brlcad.svn.sourceforge.net/brlcad/?rev=42448&view=rev
Author: brlcad
Date: 2011-01-19 15:11:05 +0000 (Wed, 19 Jan 2011)
Log Message:
-----------
move the alloc functions down with the other alloc functions
Modified Paths:
--------------
brlcad/trunk/include/raytrace.h
Modified: brlcad/trunk/include/raytrace.h
===================================================================
--- brlcad/trunk/include/raytrace.h 2011-01-19 14:29:35 UTC (rev 42447)
+++ brlcad/trunk/include/raytrace.h 2011-01-19 15:11:05 UTC (rev 42448)
@@ -3128,26 +3128,6 @@
struct directory *,
const char *newname));
-/**
- * D B _ A L L O C _ D I R E C T O R Y
- *
- * This routine is called by the RT_GET_DIRECTORY macro when the
- * freelist is exhausted. Rather than simply getting one additional
- * structure, we get a whole batch, saving overhead.
- */
-RT_EXPORT BU_EXTERN(void db_alloc_directory_block, (struct resource *resp));
-
-/**
- * R T _ A L L O C _ S E G _ B L O C K
- *
- * This routine is called by the GET_SEG macro when the freelist is
- * exhausted. Rather than simply getting one additional structure, we
- * get a whole batch, saving overhead. When this routine is called,
- * the seg resource must already be locked. malloc() locking is done
- * in bu_malloc.
- */
-RT_EXPORT BU_EXTERN(void rt_alloc_seg_block, (struct resource *res));
-
/* db_match.c */
RT_EXPORT BU_EXTERN(void db_update_nref,
(struct db_i *dbip,
@@ -3190,6 +3170,26 @@
struct directory *dp,
size_t start));
+/**
+ * D B _ A L L O C _ D I R E C T O R Y
+ *
+ * This routine is called by the RT_GET_DIRECTORY macro when the
+ * freelist is exhausted. Rather than simply getting one additional
+ * structure, we get a whole batch, saving overhead.
+ */
+RT_EXPORT BU_EXTERN(void db_alloc_directory_block, (struct resource *resp));
+
+/**
+ * R T _ A L L O C _ S E G _ B L O C K
+ *
+ * This routine is called by the GET_SEG macro when the freelist is
+ * exhausted. Rather than simply getting one additional structure, we
+ * get a whole batch, saving overhead. When this routine is called,
+ * the seg resource must already be locked. malloc() locking is done
+ * in bu_malloc.
+ */
+RT_EXPORT BU_EXTERN(void rt_alloc_seg_block, (struct resource *res));
+
/* db_tree.c */
RT_EXPORT BU_EXTERN(void db_dup_db_tree_state,
(struct db_tree_state *otsp,
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