Skip to content

Commit

Permalink
applied patch from pgRouting#70
Browse files Browse the repository at this point in the history
  • Loading branch information
dkastl committed Nov 14, 2012
1 parent cdbee35 commit 18bfb76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions core/sql/routing_core.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CREATE OR REPLACE FUNCTION shortest_path(sql text, source_id integer,
target_id integer, directed boolean, has_reverse_cost boolean)
RETURNS SETOF path_result
AS '$libdir/librouting'
LANGUAGE 'C' IMMUTABLE STRICT;
LANGUAGE C IMMUTABLE STRICT;

-----------------------------------------------------------------------
-- Core function for shortest_path_astar computation
Expand All @@ -40,7 +40,7 @@ CREATE OR REPLACE FUNCTION shortest_path_astar(sql text, source_id integer,
target_id integer,directed boolean, has_reverse_cost boolean)
RETURNS SETOF path_result
AS '$libdir/librouting'
LANGUAGE 'C' IMMUTABLE STRICT;
LANGUAGE C IMMUTABLE STRICT;

-----------------------------------------------------------------------
-- Core function for shortest_path_astar computation
Expand All @@ -50,7 +50,7 @@ CREATE OR REPLACE FUNCTION shortest_path_shooting_star(sql text, source_id integ
target_id integer,directed boolean, has_reverse_cost boolean)
RETURNS SETOF path_result
AS '$libdir/librouting'
LANGUAGE 'C' IMMUTABLE STRICT;
LANGUAGE C IMMUTABLE STRICT;

-----------------------------------------------------------------------
-- This function should not be used directly. Use create_graph_tables instead
Expand Down
4 changes: 2 additions & 2 deletions extra/driving_distance/sql/routing_dd.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CREATE OR REPLACE FUNCTION driving_distance(sql text, source_id integer,
distance float8,directed boolean, has_reverse_cost boolean)
RETURNS SETOF path_result
AS '$libdir/librouting_dd'
LANGUAGE 'C' IMMUTABLE STRICT;
LANGUAGE C IMMUTABLE STRICT;

-----------------------------------------------------------------------
-- Core function for alpha shape computation.
Expand All @@ -35,4 +35,4 @@ CREATE OR REPLACE FUNCTION driving_distance(sql text, source_id integer,
CREATE OR REPLACE FUNCTION alphashape(sql text)
RETURNS SETOF vertex_result
AS '$libdir/librouting_dd'
LANGUAGE 'C' IMMUTABLE STRICT;
LANGUAGE C IMMUTABLE STRICT;
2 changes: 1 addition & 1 deletion extra/tsp/sql/routing_tsp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
CREATE OR REPLACE FUNCTION tsp(sql text, ids varchar, source integer)
RETURNS SETOF path_result
AS '$libdir/librouting_tsp'
LANGUAGE 'C' IMMUTABLE STRICT;
LANGUAGE C IMMUTABLE STRICT;

0 comments on commit 18bfb76

Please sign in to comment.