*to = *from;
}
+#ifdef USE_DIRECT_THREADED_CODE
+extern int
+onig_init_for_match_at(regex_t* reg)
+{
+ return match_at(reg, (const UChar* )NULL, (const UChar* )NULL,
+ (const UChar* )NULL, (const UChar* )NULL, (UChar* )NULL,
+ (MatchArg* )NULL);
+}
+#endif
+
/* for callout functions */
return ONIG_NORMAL;
}
-#ifdef USE_DIRECT_THREADED_CODE
-extern int
-onig_init_for_match_at(regex_t* reg)
-{
- return match_at(reg, (const UChar* )NULL, (const UChar* )NULL,
- (const UChar* )NULL, (const UChar* )NULL, (UChar* )NULL,
- (MatchArg* )NULL);
-}
-#endif
-
/* builtin callout functions */