[Gambas-devel] pcre progress (attachment)
Laurent Carlier
lordheavy at ...141...
Mon Jan 10 01:27:55 CET 2005
Le Dimanche 9 Janvier 2005 01:00, Rob a écrit :
> Forgot the attachment :)
i've got this warning :
main.c: In function `GB_INIT':
main.c:52: warning: implicit declaration of function `REGEXP_init'
main.c: In function `GB_EXIT':
main.c:60: warning: implicit declaration of function `REGEXP_exit'
in the file regexp.h, an 3endif wasn't in the right place :
#ifndef __REGEXP_H
#define __REGEXP_H
#include "gambas.h"
#include "pcre.h"
/* #endif -> remove me */
#ifndef __REGEXP_C
extern GB_DESC CRegexpDesc[];
extern GB_DESC CRegexpSubmatchesDesc[];
extern GB_DESC CRegexpSubmatchDesc[];
#else
typedef
struct {
GB_BASE ob;
char *subject;
char *pattern;
int *ovector;
int rc;
}
CREGEXP;
#define THIS OBJECT(CREGEXP)
#endif /* add me here ! */
void REGEXP_init(void);
void REGEXP_exit(void);
#endif /* __MAIN_H */
I've not tested the componant as i don't know what to do with it :)
Have a nice day,
--
Laurent Carlier
More information about the Devel
mailing list