* src/engine/engine-helpers.c

(gnc_engine_commodity_table_new): removed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6350 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning
2001-12-11 16:13:50 +00:00
parent 72081c01f3
commit 13db328284

View File

@@ -40,34 +40,6 @@
#include "gnc-engine.h"
#include "gnc-numeric.h"
gnc_commodity_table *
gnc_engine_commodity_table_new (void)
{
static SCM commodity_table_type = SCM_UNDEFINED;
gnc_commodity_table *commodity_table;
SCM ct_scm;
SCM func;
commodity_table = gnc_commodity_table_new ();
if (commodity_table_type == SCM_UNDEFINED)
{
commodity_table_type = gh_eval_str("<gnc:commodity-table*>");
/* don't really need this - types are bound globally anyway. */
if (commodity_table_type != SCM_UNDEFINED)
scm_protect_object (commodity_table_type);
}
ct_scm = gw_wcp_assimilate_ptr ((void *) commodity_table,
commodity_table_type);
func = gh_eval_str ("gnc:engine-commodity-table-construct");
gh_call1 (func, ct_scm);
return commodity_table;
}
Timespec
gnc_transaction_get_date_posted(Transaction *t) {
Timespec result;