"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/swig/highlight.i" (12 May 2020, 473 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) ALAN Interactive Fiction Language source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 %module highlight
    2 %include stl.i
    3 %include std_string.i
    4 
    5 
    6 %{
    7 #include "../../src/include/datadir.h"
    8 #include "../../src/include/enums.h"
    9 #include "../../src/include/syntaxreader.h"
   10 #include "../../src/include/codegenerator.h"
   11 %}
   12 
   13 %apply const std::string& { const string& };
   14 %apply  std::string {  string };
   15 
   16 %include "../../src/include/datadir.h"
   17 %include "../../src/include/enums.h"
   18 %include "../../src/include/syntaxreader.h"
   19 %include "../../src/include/codegenerator.h"