Пример #1
0
        static void agg_function_hook_bridge_step(IntPtr context, int num_args, IntPtr argsptr)
        {
            IntPtr agg = new IntPtr(SQLite3RuntimeProvider.sqlite3_aggregate_context(context.ToInt64(), 8));
            // TODO error check agg nomem

            IntPtr p = new IntPtr(SQLite3RuntimeProvider.sqlite3_user_data(context.ToInt64()));
            agg_function_hook_info hi = agg_function_hook_info.from_ptr(p);

            hi.call_step(context, agg, num_args, argsptr);
        }