/*************************************************************
    Name:       wrap.h
    Purpose:    routines to create wrappers for external classes
    Author:     David Cuny
    Copyright:  (c) 2003 David Cuny <dcuny@lanset.com>
    Licence:    LGPL
*************************************************************/

#ifndef WXBASIC_WRAP_DECLARES
#define WXBASIC_WRAP_DECLARES


/* create a symbol describing the new class */
wSymbol *wWrapClass( int flags, wSymbol *inherits, char *className );
void wWrapDerefArgs( void );
void wWrapMethod( int flags, wSymbol *klass, char *methodName, void (*routine)(void), int reqCount, int optCount );
void wWrapSetThis( wSymbol *klass, void *data );
void wWrapPushObject( wSymbol *klass, int tmpFlag, void *data );


#endif
