import os.path, ctypes
from . import go
from ruamel.yaml import YAML
yaml = YAML()
library_path = os.path.join(os.path.dirname(__file__), 'libpuccini.so')
lib = ctypes.cdll.LoadLibrary(library_path)
lib.Compile.argtypes = [ctypes.c_char_p]
lib.Compile.restype = ctypes.c_char_p


def compile(url):
    return yaml.load(lib.Compile(go.to_c_char_p(url)))

843f262c836722a1dd05e71671bf0f2b86a43efa
<mask token>

<mask token>


def compile(url):
    return yaml.load(lib.Compile(go.to_c_char_p(url)))

<mask token>
yaml = YAML()
library_path = os.path.join(os.path.dirname(__file__), 'libpuccini.so')
lib = ctypes.cdll.LoadLibrary(library_path)
lib.Compile.argtypes = [ctypes.c_char_p]
lib.Compile.restype = ctypes.c_char_p


def compile(url):
    return yaml.load(lib.Compile(go.to_c_char_p(url)))

import os.path, ctypes
from . import go
from ruamel.yaml import YAML
yaml = YAML()
library_path = os.path.join(os.path.dirname(__file__), 'libpuccini.so')
lib = ctypes.cdll.LoadLibrary(library_path)
lib.Compile.argtypes = [ctypes.c_char_p]
lib.Compile.restype = ctypes.c_char_p


def compile(url):
    return yaml.load(lib.Compile(go.to_c_char_p(url)))
