mirror of
https://github.com/postgres/postgres.git
synced 2026-04-06 01:35:56 -04:00
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
16 lines
339 B
C
16 lines
339 B
C
/*
|
|
* knapsack.h
|
|
*
|
|
* Copyright (c) 2017-2019, PostgreSQL Global Development Group
|
|
*
|
|
* src/include/lib/knapsack.h
|
|
*/
|
|
#ifndef KNAPSACK_H
|
|
#define KNAPSACK_H
|
|
|
|
#include "nodes/bitmapset.h"
|
|
|
|
extern Bitmapset *DiscreteKnapsack(int max_weight, int num_items,
|
|
int *item_weights, double *item_values);
|
|
|
|
#endif /* KNAPSACK_H */
|