bindings/guile cosmetic - rename source files for consistency

This commit is contained in:
Geert Janssens 2019-10-05 16:48:37 +02:00
parent 77f669f123
commit 02511401b7
23 changed files with 42 additions and 42 deletions

View File

@ -126,7 +126,7 @@ GLIST_HELPER_INOUT(OwnerList, SWIGTYPE_p__gncOwner);
%include <gncTaxTable.h>
%include <gncVendor.h>
#if defined(SWIGGUILE)
%include <engine-helpers-guile.h>
%include <gnc-engine-guile.h>
#endif
/* Import query bindings for the below invoice query functions (but
* don't generate bindings for them). */

View File

@ -35,11 +35,11 @@
#include "gnc-session.h"
#include "engine-deprecated.h"
#include "engine-helpers.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "policy.h"
#include "SX-book.h"
#include "kvp-scm.h"
#include "glib-helpers.h"
#include "gnc-kvm-guile.h"
#include "glib-guile.h"
#include "gncAddress.h"
#include "gncBillTerm.h"
@ -174,7 +174,7 @@ functions. */
}
%include <engine-helpers.h>
%include <engine-helpers-guile.h>
%include <gnc-engine-guile.h>
%typemap(in) Transaction *trans;
%typemap(in) Split *split;
%typemap(in) char * num;

View File

@ -21,17 +21,17 @@ gnc_add_swig_guile_command (swig-engine-c
)
set(guile_HEADERS
engine-helpers-guile.h
glib-helpers.h
glib-guile.h
gnc-engine-guile.h
gnc-guile-utils.h
kvp-scm.h)
gnc-kvp-guile.h)
set(guile_SOURCES
engine-helpers-guile.c
glib-helpers.c
glib-guile.c
gnc-engine-guile.c
gnc-guile-bindings.c
gnc-guile-utils.c
kvp-scm.cpp)
gnc-kvp-guile.cpp)
add_library(gnucash-guile SHARED
${guile_SOURCES}

View File

@ -1,5 +1,5 @@
/********************************************************************\
* gnc-helpers.c -- gnucash glib helper functions *
* glib-guile.c -- glib helper functions for guile *
* Copyright (C) 2000 Linas Vepstas *
* Copyright (C) 2006 Chris Shoemaker <c.shoemaker@cox.net> *
* *
@ -30,7 +30,7 @@
#include "swig-runtime.h"
#include "guile-mappings.h"
#include "gnc-guile-utils.h"
#include "glib-helpers.h"
#include "glib-guile.h"
static SCM

View File

@ -1,5 +1,5 @@
/********************************************************************\
* glib-helpers.h -- gnucash glib helper functions *
* glib-guile.h -- glib helper functions for guile *
* Copyright (C) 2000 Linas Vepstas *
* Copyright (C) 2006 Chris Shoemaker <c.shoemaker@cox.net> *
* *
@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef GLIB_HELPERS_H
#define GLIB_HELPERS_H
#ifndef GLIB_GUILE_H
#define GLIB_GUILE_H
#include <glib.h>
#include <libguile.h>

View File

@ -1,5 +1,5 @@
/********************************************************************\
* engine-helpers-guile.c -- engine helper functions for guile *
* gnc-engine-guile.c -- engine helper functions for guile *
* Copyright (C) 2000 Linas Vepstas <linas@linas.org> *
* Copyright (C) 2001 Linux Developers Group, Inc. *
* *
@ -30,8 +30,8 @@
#include "Account.h"
#include "engine-helpers.h"
#include "engine-helpers-guile.h"
#include "glib-helpers.h"
#include "gnc-engine-guile.h"
#include "glib-guile.h"
#include "gnc-date.h"
#include "gnc-engine.h"
#include "gnc-session.h"

View File

@ -1,5 +1,5 @@
/********************************************************************\
* engine-helpers-guile.h -- engine helper functions for guile *
* gnc-engine-guile.h -- engine helper functions for guile *
* Copyright (C) 2000 Linas Vepstas <linas@linas.org> *
* Copyright (C) 2001 Linux Developers Group, Inc. *
* *
@ -22,8 +22,8 @@
* *
\********************************************************************/
#ifndef ENGINE_HELPERS_GUILE_H
#define ENGINE_HELPERS_GUILE_H
#ifndef GNC_ENGINE_GUILE_H
#define GNC_ENGINE_GUILE_H
#include <glib.h>
#include <libguile.h>

View File

@ -9,9 +9,9 @@ extern "C"
#include <qof.h>
#include "swig-runtime.h"
#include "guile-mappings.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "gnc-guile-utils.h"
#include "kvp-scm.h"
#include "gnc-kvm-guile.h"
}
/* NOTE: There are some problems with this approach. Currently,

View File

@ -25,7 +25,7 @@ extern "C"
#include <config.h>
#include <glib.h>
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "gnc-module.h"
#include "test-engine-stuff.h"
#include "test-stuff.h"

View File

@ -34,8 +34,8 @@
#include "dialog-options.h"
#include "dialog-utils.h"
#include "engine-helpers-guile.h"
#include "glib-helpers.h"
#include "gnc-engine-guile.h"
#include "glib-guile.h"
#include "gnc-account-sel.h"
#include "gnc-tree-view-account.h"
#include "gnc-tree-model-account.h"

View File

@ -47,7 +47,7 @@
#include "swig-runtime.h"
#include "guile-mappings.h"
#include "engine-helpers.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "QuickFill.h"
#include <gnc-commodity.h>

View File

@ -49,7 +49,7 @@
#include "swig-runtime.h"
#include "guile-mappings.h"
#include "guile-util.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#define DIALOG_PRICE_DB_CM_CLASS "dialog-price-edit-db"

View File

@ -54,7 +54,7 @@
#include "gnc-plugin-report-system.h"
#include "dialog-new-user.h"
#include "gnc-session.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "swig-runtime.h"
#include "guile-mappings.h"
#include "window-report.h"

View File

@ -35,7 +35,7 @@
#include <guile-util.h>
#include <gnc-sx-instance-model.h>
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
%}
#if defined(SWIGGUILE)

View File

@ -29,7 +29,7 @@
#include "guile-mappings.h"
#include "gnc-engine.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "gnc-helpers.h"
#include "gnc-ui-util.h"

View File

@ -50,8 +50,8 @@
#endif
#include "qof.h"
#include "engine-helpers-guile.h"
#include "glib-helpers.h"
#include "gnc-engine-guile.h"
#include "glib-guile.h"
#include "gnc-glib-utils.h"
#include "gnc-guile-utils.h"
#include "gnc-prefs.h"

View File

@ -29,7 +29,7 @@
#include "Account.h"
#include "option-util.h"
#include "glib-helpers.h"
#include "glib-guile.h"
#include "gnc-guile-utils.h"
#include "qof.h"
#include "swig-runtime.h"

View File

@ -30,7 +30,7 @@
#include "guile-mappings.h"
#include "gnc-commodity.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "qof.h"
typedef struct gnc_option GNCOption;

View File

@ -26,7 +26,7 @@ extern "C"
#include <glib.h>
#include "guile-mappings.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "gnc-module.h"
#include "test-engine-stuff.h"
#include "test-stuff.h"

View File

@ -26,7 +26,7 @@ extern "C"
#include <glib.h>
#include "guile-mappings.h"
#include "engine-helpers-guile.h"
#include "gnc-engine-guile.h"
#include "gnc-module.h"
#include "gnc-guile-utils.h"
#include "test-engine-stuff.h"

View File

@ -6,7 +6,7 @@ set(ENGINE_TEST_INCLUDE_DIRS
${CMAKE_SOURCE_DIR}/libgnucash/engine/test-core
${CMAKE_BINARY_DIR}/common # for config.h
${CMAKE_SOURCE_DIR}/common/test-core # for unittest-support.h
${CMAKE_SOURCE_DIR}/bindings/guile # for engine-helpers-guile.h
${CMAKE_SOURCE_DIR}/bindings/guile # for gnc-engine-guile.h
${GLIB2_INCLUDE_DIRS}
)

View File

@ -3,14 +3,14 @@
bindings/guile/business-core.scm
bindings/guile/commodity-table.scm
bindings/guile/core-utils.scm
bindings/guile/engine-helpers-guile.c
bindings/guile/engine.scm
bindings/guile/engine-utilities.scm
bindings/guile/glib-helpers.c
bindings/guile/glib-guile.c
bindings/guile/gnc-engine-guile.c
bindings/guile/gnc-guile-bindings.c
bindings/guile/gnc-guile-utils.c
bindings/guile/gnc-kvp-guile.cpp
bindings/guile/gnc-numeric.scm
bindings/guile/kvp-scm.cpp
bindings/guile/price-quotes.scm
bindings/guile/utilities.scm
borrowed/goffice/go-charmap-sel.c