| 11 | #include "../array.h" |
| 12 | |
| 13 | SIValue SIPath_New(Path *p) { |
| 14 | SIValue path; |
| 15 | path.ptrval = Path_Clone(p); |
| 16 | path.type = T_PATH; |
| 17 | path.allocation = M_SELF; |
| 18 | return path; |
| 19 | } |
| 20 | |
| 21 | SIValue SIPath_Clone(SIValue p) { |
| 22 | return SIPath_New((Path *)p.ptrval); |
no test coverage detected