Skip to content

eiffel-wrap-c/WrapC

Repository files navigation

Build Status

WrapC

WrapC logo

WrapC is an Eiffel wrapper generator for C libraries, originally known as EWG (http://www.sourceforge.net/projects/ewg) It can be used to create libraries that bridge the gap between Eiffel and C. It aims to work for arbitrary ANSI C and with EiffelSoftware compiler.

WrapC Status

Wrap C is a new version of an old project named EWG. It was updated to use the latest Eiffel version. WrapC generates Eiffel wrappers using inline externals whenever is possible. Updated callback code generation to use an agent to register the Eiffel feature to be called after a callback. Updated framework to automate building libraries and applications that use WrapC.

Current Features

 Parses pretty much all ANSI C, but also understands gcc and Visual C extensions
 Generates wrappers for: 	
  • Structs
  • Unions
  • Enums
  • Functions
  • Callbacks
  • Macro

Note

*  Macros are supported, but only for macro definitions used to define constants. Everything else will be ignored.
  • Works with ISE Eiffel.
  • Includes a framework to automate building libraries and applications that use WrapC.

The Getting started lets you discover the WrapC tool. The Developer guide lets you know how to build WrapC tool.

WrapC Intellectual Property

Intelectual property message

WrapC Libraries

For an up-to-date list of WrapC based wrapper libraries please visit the WrapC Homepage organization.