Package vstruct :: Module cparse
[hide private]
[frames] | no frames]

Module cparse

source code

Classes [hide private]
  StructParser
  CVStruct
struct example {...
  awesome
struct awesome {...
Functions [hide private]
 
preProcessSource(src)
Carry out some *very* basic pre-processor parsing on the given source.
source code
 
ctorFromCSource(src, psize=4, bigend=False)
Parse and return a callable constructor for the input C structure source.
source code
 
vsFromCSource(src, psize=4, bigend=False)
Return a vsobj for a structure parsed from C.
source code
Function Details [hide private]

preProcessSource(src)

source code 

Carry out some *very* basic pre-processor parsing on the given source.

(only function now is remove "//" style comments!)