#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Addrlib
# Copyright Â© 2018 AboodXD

# Addrlib
# A Python/Cython Address Library for Wii U textures.

try:
    import pyximport
    pyximport.install()

    from . import addrlib_cy as addrlib

except:
    from . import addrlib

# Define the functions that can be used
deswizzle = addrlib.deswizzle
swizzle = addrlib.swizzle
surfaceGetBitsPerPixel = addrlib.surfaceGetBitsPerPixel
getSurfaceInfo = addrlib.getSurfaceInfo
