https://github.com/JuliaLang/julia
Raw File
Tip revision: f73f957ac8609b5be16d8578ce648c7e81dd0673 authored by Dilum Aluthge on 14 April 2024, 17:52:30 UTC
In the `UndefVarError(::Symbol)` constructor, set `scope` to `nothing`
Tip revision: f73f957
ccalllazybar.c
// This file is a part of Julia. License is MIT: https://julialang.org/license

#include "ccalltest_common.h"

// We expect this to come from `libccalllazyfoo`
extern int foo(int);

DLLEXPORT int bar(int a) {
    return foo(a + 1);
}
back to top