Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust drivers in dagShortestPath #2078

Merged
merged 1 commit into from
Aug 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions include/drivers/dagShortestPath/dagShortestPath_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
/* for size-t */
#ifdef __cplusplus
# include <cstddef>
using Edge_t = struct Edge_t;
using General_path_element_t = struct General_path_element_t;
#else
# include <stddef.h>
typedef struct Edge_t Edge_t;
typedef struct General_path_element_t General_path_element_t;
#endif

typedef struct Edge_t Edge_t;
#include "c_types/pgr_combination_t.h"
typedef struct General_path_element_t General_path_element_t;

#ifdef __cplusplus
extern "C" {
Expand Down