r14989 - gnucash/branches/swig-redo - Force CFLAGS to include -Wno-unused. This is currently required because
Chris Shoemaker
chris at cvs.gnucash.org
Mon Oct 9 22:40:42 EDT 2006
Author: chris
Date: 2006-10-09 22:40:40 -0400 (Mon, 09 Oct 2006)
New Revision: 14989
Trac: http://svn.gnucash.org/trac/changeset/14989
Modified:
gnucash/branches/swig-redo/configure.in
gnucash/branches/swig-redo/src/app-utils/app-utils.i
gnucash/branches/swig-redo/src/app-utils/gnc-helpers.c
gnucash/branches/swig-redo/src/app-utils/gnc-helpers.h
gnucash/branches/swig-redo/src/business/business-core/business-core.i
gnucash/branches/swig-redo/src/business/business-gnome/businessmod-gnome.c
gnucash/branches/swig-redo/src/business/dialog-tax-table/dialog-tax-table.i
gnucash/branches/swig-redo/src/core-utils/core-utils.i
gnucash/branches/swig-redo/src/engine/engine-helpers.c
gnucash/branches/swig-redo/src/engine/engine-helpers.h
gnucash/branches/swig-redo/src/engine/engine.i
gnucash/branches/swig-redo/src/engine/engine.scm
gnucash/branches/swig-redo/src/engine/glib-helpers.c
gnucash/branches/swig-redo/src/engine/glib-helpers.h
gnucash/branches/swig-redo/src/gnc-module/gnc-module.i
gnucash/branches/swig-redo/src/gnome-utils/gnc-file.h
gnucash/branches/swig-redo/src/gnome-utils/gnome-utils.i
gnucash/branches/swig-redo/src/gnome/gnome.i
gnucash/branches/swig-redo/src/report/report-gnome/report-gnome.i
gnucash/branches/swig-redo/src/report/report-system/html-acct-table.scm
gnucash/branches/swig-redo/src/report/report-system/report-system.i
gnucash/branches/swig-redo/src/report/utility-reports/hello-world.scm
Log:
Force CFLAGS to include -Wno-unused. This is currently required because
swig generates code unused variables. Add prototypes for public
swig-generated functions. Remove some extraneous references to g-wrap.
Remove some old debugging code.
Modified: gnucash/branches/swig-redo/configure.in
===================================================================
--- gnucash/branches/swig-redo/configure.in 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/configure.in 2006-10-10 02:40:40 UTC (rev 14989)
@@ -2083,6 +2083,7 @@
# These two are because of g-wrap -- it can't avoid unused and uninitialized.
#warnFLAGS="${warnFLAGS} -Wno-uninitialized"
#warnFLAGS="${warnFLAGS} -Wno-unused"
+ CFLAGS="${CFLAGS} -Wno-unused"
# other flags...
# These next two are included in the GNOME_COMPILE_WARNINGS
#warnFLAGS="${warnFLAGS} -Wmissing-prototypes"
Modified: gnucash/branches/swig-redo/src/app-utils/app-utils.i
===================================================================
--- gnucash/branches/swig-redo/src/app-utils/app-utils.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/app-utils/app-utils.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -13,6 +13,8 @@
#include <gnc-component-manager.h>
#include "engine-helpers.h"
+
+SCM scm_init_sw_app_utils_module (void);
%}
//%import "engine.i"
Modified: gnucash/branches/swig-redo/src/app-utils/gnc-helpers.c
===================================================================
--- gnucash/branches/swig-redo/src/app-utils/gnc-helpers.c 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/app-utils/gnc-helpers.c 2006-10-10 02:40:40 UTC (rev 14989)
@@ -1,5 +1,5 @@
/********************************************************************\
- * gnc-helpers.c -- gnucash g-wrap helper functions *
+ * gnc-helpers.c -- gnucash app-util helper functions *
* Copyright (C) 2000 Linas Vepstas *
* *
* This program is free software; you can redistribute it and/or *
@@ -119,7 +119,7 @@
* attempt to optimize the speed of price quote retrieval, this
* routine only converts the fields that price-quotes.scm uses. Since
* it converts these fields all at once, it should prevent multiple
- * transitions back and forth from Scheme to C (via g-wrap) to extract
+ * transitions back and forth from Scheme to C to extract
* the data from a pointers to a gnc-commodity (the older method).
* This is *not* a reversible conversion as it drops data.
*
Modified: gnucash/branches/swig-redo/src/app-utils/gnc-helpers.h
===================================================================
--- gnucash/branches/swig-redo/src/app-utils/gnc-helpers.h 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/app-utils/gnc-helpers.h 2006-10-10 02:40:40 UTC (rev 14989)
@@ -1,5 +1,5 @@
/********************************************************************\
- * gnc-helpers.h -- gnucash g-wrap helper functions *
+ * gnc-helpers.h -- gnucash app-util helper functions *
* Copyright (C) 2000 Linas Vepstas *
* *
* This program is free software; you can redistribute it and/or *
Modified: gnucash/branches/swig-redo/src/business/business-core/business-core.i
===================================================================
--- gnucash/branches/swig-redo/src/business/business-core/business-core.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/business/business-core/business-core.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -16,6 +16,8 @@
#include <gncBusGuile.h>
#include "engine-helpers.h"
#include "gncBusGuile.h"
+
+SCM scm_init_sw_business_core_module (void);
%}
// Temporary SWIG<->G-wrap converters for engine types
@@ -37,40 +39,40 @@
%rename(gncOwnerReturnGUID) gncOwnerRetGUID;
%inline %{
-GUID gncTaxTableReturnGUID(GncTaxTable *x)
+static GUID gncTaxTableReturnGUID(GncTaxTable *x)
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
-GUID gncInvoiceReturnGUID(GncInvoice *x)
+static GUID gncInvoiceReturnGUID(GncInvoice *x)
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
-GUID gncJobReturnGUID(GncJob *x)
+static GUID gncJobReturnGUID(GncJob *x)
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
-GUID gncVendorReturnGUID(GncVendor *x)
+static GUID gncVendorReturnGUID(GncVendor *x)
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
-GUID gncCustomerReturnGUID(GncCustomer *x)
+static GUID gncCustomerReturnGUID(GncCustomer *x)
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
-GUID gncEmployeeReturnGUID(GncEmployee *x)
+static GUID gncEmployeeReturnGUID(GncEmployee *x)
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
-GncTaxTable * gncTaxTableLookupFlip(GUID g, QofBook *b)
+static GncTaxTable * gncTaxTableLookupFlip(GUID g, QofBook *b)
{ return gncTaxTableLookup(b, &g); }
-GncInvoice * gncInvoiceLookupFlip(GUID g, QofBook *b)
+static GncInvoice * gncInvoiceLookupFlip(GUID g, QofBook *b)
{ return gncInvoiceLookup(b, &g); }
-GncJob * gncJobLookupFlip(GUID g, QofBook *b)
+static GncJob * gncJobLookupFlip(GUID g, QofBook *b)
{ return gncJobLookup(b, &g); }
-GncVendor * gncVendorLookupFlip(GUID g, QofBook *b)
+static GncVendor * gncVendorLookupFlip(GUID g, QofBook *b)
{ return gncVendorLookup(b, &g); }
-GncCustomer * gncCustomerLookupFlip(GUID g, QofBook *b)
+static GncCustomer * gncCustomerLookupFlip(GUID g, QofBook *b)
{ return gncCustomerLookup(b, &g); }
-GncEmployee * gncEmployeeLookupFlip(GUID g, QofBook *b)
+static GncEmployee * gncEmployeeLookupFlip(GUID g, QofBook *b)
{ return gncEmployeeLookup(b, &g); }
%}
Modified: gnucash/branches/swig-redo/src/business/business-gnome/businessmod-gnome.c
===================================================================
--- gnucash/branches/swig-redo/src/business/business-gnome/businessmod-gnome.c 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/business/business-gnome/businessmod-gnome.c 2006-10-10 02:40:40 UTC (rev 14989)
@@ -35,7 +35,6 @@
#include "gnc-hooks.h"
#include "gnc-module.h"
#include "gnc-module-api.h"
-//#include "g-wrap-wct.h" //temp
#include "search-core-type.h"
#include "search-owner.h"
Modified: gnucash/branches/swig-redo/src/business/dialog-tax-table/dialog-tax-table.i
===================================================================
--- gnucash/branches/swig-redo/src/business/dialog-tax-table/dialog-tax-table.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/business/dialog-tax-table/dialog-tax-table.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -3,6 +3,8 @@
/* Includes the header in the wrapper code */
#include <config.h>
#include <dialog-tax-table.h>
+
+SCM scm_init_sw_dialog_tax_table_module (void);
%}
TaxTableWindow * gnc_ui_tax_table_window_new (GNCBook *book);
Modified: gnucash/branches/swig-redo/src/core-utils/core-utils.i
===================================================================
--- gnucash/branches/swig-redo/src/core-utils/core-utils.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/core-utils/core-utils.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -4,6 +4,8 @@
#include <gnc-glib-utils.h>
#include <gnc-main.h>
#include <glib.h>
+
+SCM scm_init_sw_core_utils_module (void);
%}
typedef char gchar;
Modified: gnucash/branches/swig-redo/src/engine/engine-helpers.c
===================================================================
--- gnucash/branches/swig-redo/src/engine/engine-helpers.c 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/engine/engine-helpers.c 2006-10-10 02:40:40 UTC (rev 14989)
@@ -1,5 +1,5 @@
/********************************************************************\
- * engine-helpers.c -- gnucash g-wrap helper functions *
+ * engine-helpers.c -- gnucash engine helper functions *
* Copyright (C) 2000 Linas Vepstas <linas at linas.org> *
* Copyright (C) 2001 Linux Developers Group, Inc. *
* *
Modified: gnucash/branches/swig-redo/src/engine/engine-helpers.h
===================================================================
--- gnucash/branches/swig-redo/src/engine/engine-helpers.h 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/engine/engine-helpers.h 2006-10-10 02:40:40 UTC (rev 14989)
@@ -1,5 +1,5 @@
/********************************************************************\
- * engine-helpers.h -- gnucash g-wrap helper functions *
+ * engine-helpers.h -- gnucash engine helper functions *
* Copyright (C) 2000 Linas Vepstas <linas at linas.org> *
* Copyright (C) 2001 Linux Developers Group, Inc. *
* *
@@ -58,7 +58,7 @@
/* These two functions convert a query object into a scheme
* representation of the query and vice-versa. They do not
- * simply convert a query pointer to a g-wrapped query pointer! */
+ * simply convert a query pointer to a guile query pointer! */
SCM gnc_query2scm (Query * q);
Query * gnc_scm2query (SCM query_scm);
Modified: gnucash/branches/swig-redo/src/engine/engine.i
===================================================================
--- gnucash/branches/swig-redo/src/engine/engine.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/engine/engine.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -18,7 +18,8 @@
#include <SX-book.h>
#include <kvp-scm.h>
#include "glib-helpers.h"
-#include "g-wrap-wct.h" //temp
+
+SCM scm_init_sw_engine_module (void);
%}
/* Not sure why SWIG doesn't figure this out. */
@@ -49,14 +50,6 @@
%typemap(in) gnc_numeric " $1 = gnc_scm_to_numeric($input); "
%typemap(out) gnc_numeric " $result = gnc_numeric_to_scm($1); "
-//JUST TEMPORARY FOR TESTING ACCTTYPE ONLY
-/*
-%typemap(in) Account * " $1 = gw_wcp_get_ptr($input); "
-%typemap(in) Transaction * " $1 = gw_wcp_get_ptr($input); "
-%typemap(in) Split * " $1 = gw_wcp_get_ptr($input); "
-%typemap(in) QofQuery * " $1 = gw_wcp_get_ptr($input); "
-*/
-
%define GLIST_HELPER_INOUT(ListType, ElemSwigType)
%typemap(in) ListType * {
SCM list = $input;
@@ -89,63 +82,25 @@
}
%enddef
-%define GLIST_HELPER_INOUT_GWRAP(ListType, ElemGWrapTypeStr)
-%typemap(in) ListType * {
- SCM list = $input;
- GList *c_list = NULL;
-
- while (!SCM_NULLP(list)) {
- Account *p;
-
- SCM p_scm = SCM_CAR(list);
- if (SCM_FALSEP(p_scm) || SCM_NULLP(p_scm))
- p = NULL;
- else
- p = gw_wcp_get_ptr(p_scm);
-
- c_list = g_list_prepend(c_list, p);
- list = SCM_CDR(list);
- }
-
- $1 = g_list_reverse(c_list);
-}
-%typemap(out) ListType * {
- SCM list = SCM_EOL;
- GList *node;
-
- for (node = $1; node; node = node->next)
- list = scm_cons(gw_wcp_assimilate_ptr(node->data,
- scm_c_eval_string(ElemGWrapTypeStr)), list);
-
- $result = scm_reverse(list);
-}
-%enddef
-
GLIST_HELPER_INOUT(SplitList, SWIGTYPE_p_Split);
GLIST_HELPER_INOUT(TransList, SWIGTYPE_p_Transaction);
GLIST_HELPER_INOUT(LotList, SWIGTYPE_p_GNCLot);
GLIST_HELPER_INOUT(AccountList, SWIGTYPE_p_Account);
-/*
-GLIST_HELPER_INOUT_GWRAP(SplitList, "<gnc:Split*>");
-GLIST_HELPER_INOUT_GWRAP(TransList, "<gnc:Transction*>");
-GLIST_HELPER_INOUT_GWRAP(LotList, "<gnc:Lot*>");
-GLIST_HELPER_INOUT_GWRAP(AccountList, "<gnc:Account*>");
-*/
GLIST_HELPER_INOUT(PriceList, SWIGTYPE_p_GNCPrice);
// TODO: free PriceList?
GLIST_HELPER_INOUT(CommodityList, SWIGTYPE_p_gnc_commodity);
%inline %{
-const GUID * gncSplitGetGUID(Split *x)
+static const GUID * gncSplitGetGUID(Split *x)
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
-const GUID * gncTransGetGUID(Transaction *x)
+static const GUID * gncTransGetGUID(Transaction *x)
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
-const GUID * gncAccountGetGUID(Account *x)
+static const GUID * gncAccountGetGUID(Account *x)
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
-const GUID * gncPriceGetGUID(GNCPrice *x)
+static const GUID * gncPriceGetGUID(GNCPrice *x)
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
-const GUID * gncBudgetGetGUID(GncBudget *x)
+static const GUID * gncBudgetGetGUID(GncBudget *x)
{ return qof_instance_get_guid(QOF_INSTANCE(x)); }
%}
@@ -185,7 +140,7 @@
/* Parse the header file to generate wrappers */
//#define QOF_ID_BOOK "Book"
%inline {
- QofIdType QOF_ID_BOOK_SCM (void) { return QOF_ID_BOOK; }
+ static QofIdType QOF_ID_BOOK_SCM (void) { return QOF_ID_BOOK; }
}
%include <Split.h>
@@ -209,8 +164,8 @@
const char *gnc_print_date (Timespec ts);
%inline {
-QofQuery * qof_query_create_for_splits(void) {
- qof_query_create_for(GNC_ID_SPLIT);
+static QofQuery * qof_query_create_for_splits(void) {
+ return qof_query_create_for(GNC_ID_SPLIT);
}
}
%typemap(in) GSList * "$1 = gnc_query_scm2path($input);"
@@ -309,8 +264,8 @@
%clear GSList *key_path;
%inline %{
-KvpFrame * gnc_book_get_slots(QofBook *book) {
- qof_instance_get_slots(QOF_INSTANCE(book));
+static KvpFrame * gnc_book_get_slots(QofBook *book) {
+ return qof_instance_get_slots(QOF_INSTANCE(book));
}
%}
Modified: gnucash/branches/swig-redo/src/engine/engine.scm
===================================================================
--- gnucash/branches/swig-redo/src/engine/engine.scm 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/engine/engine.scm 2006-10-10 02:40:40 UTC (rev 14989)
@@ -1,6 +1,5 @@
(define-module (gnucash engine))
-(use-modules (g-wrap gw-wct))
(use-modules (sw_engine))
(export GNC-RND-FLOOR)
Modified: gnucash/branches/swig-redo/src/engine/glib-helpers.c
===================================================================
--- gnucash/branches/swig-redo/src/engine/glib-helpers.c 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/engine/glib-helpers.c 2006-10-10 02:40:40 UTC (rev 14989)
@@ -32,8 +32,6 @@
#include "glib-helpers.h"
-/* These will eventually go into (g-wrapped glib). */
-
static SCM
glist_to_scm_list_helper(GList *glist, swig_type_info *wct)
{
@@ -54,7 +52,7 @@
return glist_to_scm_list_helper(glist, stype);
}
-GList*
+GList *
gnc_scm_list_to_glist(SCM rest)
{
GList *result = NULL;
@@ -70,7 +68,6 @@
scm_item = SCM_CAR(rest);
rest = SCM_CDR(rest);
- /* fixes a bug in g-wrap */
if (scm_item == SCM_BOOL_F)
{
result = g_list_prepend(result, NULL);
Modified: gnucash/branches/swig-redo/src/engine/glib-helpers.h
===================================================================
--- gnucash/branches/swig-redo/src/engine/glib-helpers.h 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/engine/glib-helpers.h 2006-10-10 02:40:40 UTC (rev 14989)
@@ -1,6 +1,7 @@
/********************************************************************\
- * glib-helpers.h -- gnucash g-wrap helper functions *
+ * glib-helpers.h -- gnucash glib helper functions *
* Copyright (C) 2000 Linas Vepstas *
+ * Copyright (C) 2006 Chris Shoemaker <c.shoemaker at cox.net> *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
Modified: gnucash/branches/swig-redo/src/gnc-module/gnc-module.i
===================================================================
--- gnucash/branches/swig-redo/src/gnc-module/gnc-module.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/gnc-module/gnc-module.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -1,6 +1,8 @@
%module sw_gnc_module
%{
#include <gnc-module.h>
+
+SCM scm_init_sw_gnc_module_module (void);
%}
typedef char gchar;
Modified: gnucash/branches/swig-redo/src/gnome/gnome.i
===================================================================
--- gnucash/branches/swig-redo/src/gnome/gnome.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/gnome/gnome.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -4,6 +4,8 @@
#include <config.h>
#include <gtk/gtk.h>
#include <dialog-progress.h>
+
+SCM scm_init_sw_gnome_module (void);
%}
// Temporary SWIG<->G-wrap converters for engine types
Modified: gnucash/branches/swig-redo/src/gnome-utils/gnc-file.h
===================================================================
--- gnucash/branches/swig-redo/src/gnome-utils/gnc-file.h 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/gnome-utils/gnc-file.h 2006-10-10 02:40:40 UTC (rev 14989)
@@ -31,7 +31,6 @@
* These utilities are written in a GUI-independent fashion, and should
* work just fine with the Motif, gnome/gtk and Qt interfaces.
* These utilities are appropriate for direct invocation from guile.
- * (they should be wrapped by g-wrap).
*
* These GUI utilities implement and maintain a single global "session"
* that defines the currently edited account group. In a sense, these
Modified: gnucash/branches/swig-redo/src/gnome-utils/gnome-utils.i
===================================================================
--- gnucash/branches/swig-redo/src/gnome-utils/gnome-utils.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/gnome-utils/gnome-utils.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -20,6 +20,8 @@
#include <gnc-ui.h>
#include <print-session.h>
#include <gnc-splash.h>
+
+SCM scm_init_sw_gnome_utils_module (void);
%}
// Temporary SWIG<->G-wrap converters for engine types
Modified: gnucash/branches/swig-redo/src/report/report-gnome/report-gnome.i
===================================================================
--- gnucash/branches/swig-redo/src/report/report-gnome/report-gnome.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/report/report-gnome/report-gnome.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -6,9 +6,10 @@
#include <dialog-column-view.h>
#include <gnc-plugin-page-report.h>
#include <window-report.h>
+
+SCM scm_init_sw_report_gnome_module (void);
%}
-
void gnc_report_raise_editor(SCM report);
void gnc_main_window_open_report(int report_id, GncMainWindow *window);
GtkWidget * gnc_report_window_default_params_editor(SCM options, SCM report);
Modified: gnucash/branches/swig-redo/src/report/report-system/html-acct-table.scm
===================================================================
--- gnucash/branches/swig-redo/src/report/report-system/html-acct-table.scm 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/report/report-system/html-acct-table.scm 2006-10-10 02:40:40 UTC (rev 14989)
@@ -406,13 +406,7 @@
;; account-commodity: commodity
;;
;; returns the default commodity of the account in the current
-;; row, as returned by xaccAccountGetCommodity. the g-wrap
-;; documentation string reads: "Get the commodity in which the
-;; account is denominated." note: afaik, gnucash accounts can
-;; only contain one commodity; but it's plausible that future
-;; releases may permit mixed-commodity accounts, so it's
-;; probably safest not to assume that an account contains only
-;; its default commodity.
+;; row, as returned by xaccAccountGetCommodity.
;;
;; account-type: account_type
;;
Modified: gnucash/branches/swig-redo/src/report/report-system/report-system.i
===================================================================
--- gnucash/branches/swig-redo/src/report/report-system/report-system.i 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/report/report-system/report-system.i 2006-10-10 02:40:40 UTC (rev 14989)
@@ -3,6 +3,8 @@
/* Includes the header in the wrapper code */
#include <config.h>
#include <gnc-report.h>
+
+SCM scm_init_sw_report_system_module (void);
%}
typedef int gint;
Modified: gnucash/branches/swig-redo/src/report/utility-reports/hello-world.scm
===================================================================
--- gnucash/branches/swig-redo/src/report/utility-reports/hello-world.scm 2006-10-10 01:25:57 UTC (rev 14988)
+++ gnucash/branches/swig-redo/src/report/utility-reports/hello-world.scm 2006-10-10 02:40:40 UTC (rev 14989)
@@ -149,8 +149,7 @@
;; This is an account list option. The user can select one
;; or (possibly) more accounts from the list of accounts
;; in the current file. Values are scheme handles to actual
- ;; C pointers to accounts. They can be used in conjunction
- ;; with the wrapped C functions in gnucash/src/g-wrap/gnc.gwp.
+ ;; C pointers to accounts.
;; The #f value indicates that any account will be accepted.
;; Instead of a #f values, you could provide a function that
;; accepts a list of account values and returns a pair. If
More information about the gnucash-changes
mailing list