This commit is contained in:
Dante
2026-05-22 11:54:15 -07:00
parent 05f197c291
commit b47ea35fe4
935 changed files with 1016163 additions and 1 deletions

View File

@ -0,0 +1,23 @@
package hxcpp;
#if (hxcpp_api_level>=330)
class StaticRegexp { }
#else
@:cppFileCode( 'extern "C" int regexp_register_prims();')
@:buildXml("
<target id='haxe'>
<lib name='${HXCPP}/lib/${BINDIR}/libregexp${LIBEXTRA}${LIBEXT}'/>
</target>
")
@:keep class StaticRegexp
{
static function __init__()
{
untyped __cpp__("regexp_register_prims();");
}
}
#end