From bc3799f8c1223b0e43bf81a0b9259eb33d5edfc9 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 30 Jan 2007 02:03:33 +0100 Subject: [PATCH] remove argument_direction code. --- lily/function-documentation.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lily/function-documentation.cc b/lily/function-documentation.cc index 5f684b7cb8..d8e4ddc33b 100644 --- a/lily/function-documentation.cc +++ b/lily/function-documentation.cc @@ -79,16 +79,6 @@ predicate_to_typename (void *ptr) return type_names[ptr]; } -static int -arg_dir (int a, int b) -{ - if (&a < &b) - return 1; - else - return -1; -} - - /* type predicates. */ #include "spanner.hh" #include "item.hh" @@ -102,8 +92,6 @@ arg_dir (int a, int b) void init_func_doc () { - function_argument_direction = arg_dir (2,3); - ly_add_type_predicate ((void*) &is_direction, "direction"); ly_add_type_predicate ((void*) &is_music_function, "Music_function"); ly_add_type_predicate ((void*) &ly_is_port, "port"); -- 2.39.5