Show
Ignore:
Timestamp:
02/07/08 21:11:19 (10 months ago)
Author:
otter
Message:

Added 'annotation(Library="ModelicaExternalC")' to all 'external "C"' functions, as decided at the last design meeting.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Modelica/Utilities/Strings.mo

    r887 r1041  
    66    output Integer result "Number of characters of string"; 
    77  external "C" result=  ModelicaStrings_length(string); 
    8     annotation ( Documentation(info="<html> 
     8    annotation (Library="ModelicaExternalC", Documentation(info="<html> 
    99<h4>Syntax</h4> 
    1010<blockquote><pre> 
     
    2929  external "C" result =  
    3030                      ModelicaStrings_substring(string,startIndex,endIndex); 
    31     annotation ( 
     31    annotation (Library="ModelicaExternalC", 
    3232  Documentation(info="<html> 
    3333<h4>Syntax</h4> 
     
    8888    output Modelica.Utilities.Types.Compare result "Result of comparison"; 
    8989  external "C" result=  ModelicaStrings_compare(string1, string2, caseSensitive); 
    90     annotation ( Documentation(info="<html> 
     90    annotation (Library="ModelicaExternalC", Documentation(info="<html> 
    9191<h4>Syntax</h4> 
    9292<blockquote><pre> 
     
    10831083      output Real number "Value of Real number"; 
    10841084      external "C" ModelicaStrings_scanReal(string, startIndex, unsigned, nextIndex, number); 
    1085       annotation (Documentation(info="<html> 
     1085      annotation (Library="ModelicaExternalC",Documentation(info="<html> 
    10861086<h4>Syntax</h4> 
    10871087<blockquote><pre> 
     
    11311131      output Integer number "Value of Integer number"; 
    11321132      external "C" ModelicaStrings_scanInteger(string, startIndex, unsigned, nextIndex, number); 
    1133       annotation (Documentation(info="<html> 
     1133      annotation (Library="ModelicaExternalC",Documentation(info="<html> 
    11341134<h4>Syntax</h4> 
    11351135<blockquote><pre> 
     
    11761176      output String string2 "Value of String token"; 
    11771177      external "C" ModelicaStrings_scanString(string, startIndex, nextIndex, string2); 
    1178       annotation (Documentation(info="<html> 
     1178      annotation (Library="ModelicaExternalC",Documentation(info="<html> 
    11791179<h4>Syntax</h4> 
    11801180<blockquote><pre> 
     
    12121212      external "C" ModelicaStrings_scanIdentifier(string, startIndex, nextIndex, identifier); 
    12131213 
    1214       annotation (Documentation(info="<html> 
     1214      annotation (Library="ModelicaExternalC",Documentation(info="<html> 
    12151215<h4>Syntax</h4> 
    12161216<blockquote><pre> 
     
    12461246      output Integer nextIndex; 
    12471247      external "C" nextIndex = ModelicaStrings_skipWhiteSpace(string, startIndex); 
    1248       annotation (Documentation(info="<html> 
     1248      annotation (Library="ModelicaExternalC",Documentation(info="<html> 
    12491249<h4>Syntax</h4> 
    12501250<blockquote><pre>