编译指示 Inline 指定在代码中调用时,应将子程序内联扩展。
function My_Function return Integer is begin return 1+2; -- A simple function suitable for inlining end My_Function; pragma inline(My_Function); ... Some_Variable := My_Function; -- Will be expanded by compiler.
function
return
is
begin
end
pragma