This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module code_extract [Version: v01]

This documentation describes the Prokee module interface.


Functions:
code_extract_run
int code_extract_run(const char *searchpath,const char *module)

Static Methods:
main
int code_extract::main(int argc,char **argv)

Motivation


Functions

   code_extract_run


Extracts code from a directory or file.

Mark code with special comments:
///module:1      
    ...          
    extracted    
    code here    
    ...          
 
///module:0


Signature:
int code_extract_run(const char *searchpath,const char *module)

Parameters:
Type Name Direction Description
const char *searchpath[IN]Directory or file (path) where to scan for source code.
const char *module[IN]Name of the module.

Return value:
Returns 0 if successful, otherwise a value other than 0.

Code: toggle


Static Methods

   main


Runs code_extract as if it would be called from the command-line.

This calls code_extract_run(argv[1],argv[2]).

Signature:
int code_extract::main(int argc,char **argv)

Parameters:
Type Name Direction Description
int argcThe number of command-line parameters.
char **argv[IN]The command-line parameters.

Return value:
Exit status.


Copyright © 2017 - 2019 by Andreas Pollhammer