mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Revise the API for user-defined functions. (CVS 398)
FossilOrigin-Name: 633951f0fa11c91f93aa2862df84691750c01e73
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** Internal interface definitions for SQLite.
|
||||
**
|
||||
** @(#) $Id: sqliteInt.h,v 1.94 2002/02/27 01:47:12 drh Exp $
|
||||
** @(#) $Id: sqliteInt.h,v 1.95 2002/02/27 19:00:22 drh Exp $
|
||||
*/
|
||||
#include "sqlite.h"
|
||||
#include "hash.h"
|
||||
@@ -206,11 +206,12 @@ struct sqlite {
|
||||
** points to a linked list of these structures.
|
||||
*/
|
||||
struct UserFunc {
|
||||
void (*xFunc)(void*,int,const char**); /* Regular function */
|
||||
void *(*xStep)(void*,int,const char**); /* Aggregate function step */
|
||||
void (*xFinalize)(void*,void*); /* Aggregate function finializer */
|
||||
int nArg; /* Number of arguments */
|
||||
UserFunc *pNext; /* Next function with same name */
|
||||
void (*xFunc)(sqlite_func*,int,const char**); /* Regular function */
|
||||
void *(*xStep)(sqlite_func*,int,const char**); /* Aggregate function step */
|
||||
void (*xFinalize)(sqlite_func*); /* Aggregate function finializer */
|
||||
int nArg; /* Number of arguments */
|
||||
void *pUserData; /* User data parameter */
|
||||
UserFunc *pNext; /* Next function with same name */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user