void __ses_path_split_i(ScfEfunction* f, ses_path_t* path, int i, int j, double la, double jla, double* a, double* ja);
void __ses_path_pr (ScfEfunction* f, ses_path_t* path, int i, int j, ScfEpin* cp1, double* r, double* jr);
void __ses_path_sr (ScfEfunction* f, ses_path_t* path, int i, int j, ScfEpin* cp1, double* r, double* jr);
+int __ses_path_pos (ScfEfunction* f, ScfEline* el);
+int __ses_path_neg (ScfEfunction* f, ScfEline* el);
static inline void vertical(int* px, int* py, int dx, int dy, int d)
{
#include"ses_core.h"
-int __dfs_path_pos(ScfEfunction* f, ScfEline* el)
+static int __dfs_path_pos(ScfEfunction* f, ScfEline* el)
{
ScfEcomponent* c;
ScfEcomponent* c2;
return 0;
}
-int __dfs_path_neg(ScfEfunction* f, ScfEline* el)
+static int __dfs_path_neg(ScfEfunction* f, ScfEline* el)
{
ScfEcomponent* c;
ScfEpin* p;
return 0;
}
-int dfs_path_pos(ScfEfunction* f, ScfEline* el)
+int __ses_path_pos(ScfEfunction* f, ScfEline* el)
{
ScfEcomponent* c;
ScfEpin* p;
return __dfs_path_pos(f, el);
}
-int dfs_path_neg(ScfEfunction* f, ScfEline* el)
+int __ses_path_neg(ScfEfunction* f, ScfEline* el)
{
ScfEcomponent* c;
ScfEpin* p;
if (SCF_EDA_PIN_OUT & el->flags) {
- if (dfs_path_pos(f, el)) {
+ if (__ses_path_pos(f, el)) {
- if (!dfs_path_neg(f, el))
+ if (!__ses_path_neg(f, el))
el->v = Bp->v;
- } else if (dfs_path_neg(f, el))
+ } else if (__ses_path_neg(f, el))
el->v = Bn->v;
else
return -EINVAL;