Decorator @include

Issue #10 closed
Pierre Augier created an issue

While we don't have static code analysis, we need

# pythran include compute_tmp

def compute_tmp(a, b):
    ...

Comments (3)

  1. Pierre Augier reporter

    Let's use a decorator

    from fluidpythran import include
    
    @include
    def func0():
        pass
    
    @include(used_by=("cjit_func0", "cjit_func1"))
    def func1():
        pass
    
  2. Log in to comment