X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=XS.xs;fp=XS.xs;h=3e6c839e892099d38902dbf91c1c70fe5c8c522c;hb=2b47d13cc3268a21ebe79ead99ad55dd902d6003;hp=182c51458164d6297b5df83887f5a9b83d697211;hpb=926e086550c525ae9cd07f7521e9c524ca9db607;p=algorithm-bit-xs.git diff --git a/XS.xs b/XS.xs index 182c514..3e6c839 100644 --- a/XS.xs +++ b/XS.xs @@ -127,6 +127,8 @@ PROTOTYPES: ENABLE Algorithm::BIT::XS bit_create(IV len); void bit_free(Algorithm::BIT::XS b); +ALIAS: + DESTROY = 1 IV bit_query(Algorithm::BIT::XS b, IV idx); @@ -141,6 +143,8 @@ PROTOTYPES: ENABLE Algorithm::BIT2D::XS bit2d_create(IV n, IV m); void bit2d_free(Algorithm::BIT2D::XS b); +ALIAS: + DESTROY = 1 IV bit2d_query(Algorithm::BIT2D::XS b, IV i1, IV i2);