Skip to content

Commit ab35e3f

Browse files
committed
strip regex.pxi
1 parent a0615e2 commit ab35e3f

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

pixie/regex.pxi

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
11
(ns pixie.regex
22
(:require [pixie.ffi-infer :as i]))
33

4-
(i/with-config {:library "re2"
5-
:cxx-flags ["-lre2"]
6-
:includes ["re2.h"]}
4+
(i/with-config {:library "cre2"
5+
:cxx-flags [" && pwd"
6+
"-Lexternals/cre2/build/.libs"
7+
"-lcre2"
8+
"-Iexternals/cre2/src"]
9+
:includes ["cre2.h"]}
710
(i/defconst M_E)
8-
(i/defconst M_LOG2E)
9-
(i/defconst M_LOG10E)
10-
(i/defconst M_LN2)
11-
(i/defconst M_LN10)
12-
(i/defconst M_PI)
13-
(i/defconst M_PI_2)
14-
(i/defconst M_PI_4)
15-
(i/defconst M_1_PI)
16-
(i/defconst M_2_PI)
17-
(i/defconst M_2_SQRTPI)
18-
(i/defconst M_SQRT2)
19-
(i/defconst M_SQRT1_2)
2011

21-
(i/defcfn nan)
22-
(i/defcfn ceil)
23-
(i/defcfn floor)
24-
(i/defcfn nearbyint)
25-
(i/defcfn rint)
12+
(i/defcfn rint))

0 commit comments

Comments
 (0)