@@ -110,7 +110,6 @@ struct _Process
110
110
gboolean detached ;
111
111
};
112
112
113
-
114
113
static void
115
114
initialize_scm_functions ()
116
115
{
@@ -242,7 +241,7 @@ gnc_copy_split_scm_onto_split(SCM split_scm, Split *split,
242
241
* Args: scm - a scheme object *
243
242
* Returns: true if scm is a scheme split *
244
243
\********************************************************************/
245
- gboolean
244
+ static gboolean
246
245
gnc_is_split_scm (SCM scm )
247
246
{
248
247
initialize_scm_functions ();
@@ -258,7 +257,7 @@ gnc_is_split_scm(SCM scm)
258
257
* Args: scm - a scheme object *
259
258
* Returns: true if scm is a scheme transaction *
260
259
\********************************************************************/
261
- gboolean
260
+ static gboolean
262
261
gnc_is_trans_scm (SCM scm )
263
262
{
264
263
initialize_scm_functions ();
@@ -420,56 +419,6 @@ gnc_split_scm_set_value(SCM split_scm, gnc_numeric value)
420
419
}
421
420
422
421
423
- /********************************************************************\
424
- * gnc_split_scm_get_memo *
425
- * return the newly allocated memo of a scheme split, or NULL. *
426
- * *
427
- * Args: split_scm - the scheme split *
428
- * Returns: newly allocated memo string, must be freed with g_free *
429
- \********************************************************************/
430
- char *
431
- gnc_split_scm_get_memo (SCM split_scm )
432
- {
433
- SCM result ;
434
-
435
- initialize_scm_functions ();
436
-
437
- if (!gnc_is_split_scm (split_scm ))
438
- return NULL ;
439
-
440
- result = scm_call_1 (getters .split_scm_memo , split_scm );
441
- if (!scm_is_string (result ))
442
- return NULL ;
443
-
444
- return gnc_scm_to_utf8_string (result );
445
- }
446
-
447
-
448
- /**********************************************************************\
449
- * gnc_split_scm_get_action *
450
- * return the newly allocated action of a scheme split, or NULL. *
451
- * *
452
- * Args: split_scm - the scheme split *
453
- * Returns: newly allocated action string, must be freed with g_free *
454
- \**********************************************************************/
455
- char *
456
- gnc_split_scm_get_action (SCM split_scm )
457
- {
458
- SCM result ;
459
-
460
- initialize_scm_functions ();
461
-
462
- if (!gnc_is_split_scm (split_scm ))
463
- return NULL ;
464
-
465
- result = scm_call_1 (getters .split_scm_action , split_scm );
466
- if (!scm_is_string (result ))
467
- return NULL ;
468
-
469
- return gnc_scm_to_utf8_string (result );
470
- }
471
-
472
-
473
422
/********************************************************************\
474
423
* gnc_split_scm_get_amount *
475
424
* return the amount of a scheme split *
0 commit comments