%%============================================================================
%%File:alignpadding.tlc
%%
%%Abstract:
%%Thisfilehassupportfunctionsforaddingalignmentpaddingto
%%basedatastructures:BlockI/O,Dwork,Parameters,etc.
%%
%%
%%Copyright1994-2005TheMathWorks,Inc.
%%
%%============================================================================
 
%selectfile NULL_FILE
 
%if EXISTS("_ALIGNPADDING_") == 0
%assign _ALIGNPADDING_ = 1
 
%%Function:SLibAddPreStructDeclarePragma=====================================
%%Abstract:
%%Addsapragmadeclarationbeforethetypedefforastructureifthe
%%targetspecifiedthatitneededsuchapragma
%%
%function SLibAddPreStructDeclarePragma(declareName) Output
  %if !WHITE_SPACE(::CompiledModel.PreStructDeclarePragma)
    %assign pd = FEVAL("strrep", "%<::CompiledModel.PreStructDeclarePragma>", ...
      "/%<DECLARE_NAME>", declareName)
    %<pd>
  %endif
%endfunction
 
%%Function:SLibAddPostStructDeclarePragma====================================
%%Abstract:
%%Addsapragmadeclarationbeforethetypedefforastructureifthe
%%targetspecifiedthatitneededsuchapragma
%%
%function SLibAddPostStructDeclarePragma(declareName) Output
  %if !WHITE_SPACE(::CompiledModel.PostStructDeclarePragma)
    %assign pd = FEVAL("strrep", "%<::CompiledModel.PostStructDeclarePragma>", ...
      "/%<DECLARE_NAME>", declareName)
    %<pd>
  %endif
%endfunction
 
%endif %% _ALIGNPADDING_
 
%%[EOF]alignpadding.tlc