aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/root/speller.h
blob: 6d7037509532264f9b48bc560adfe8487f0697b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

/* Copyright (C) 2010-2020 by The D Language Foundation, All Rights Reserved
 * http://www.digitalmars.com
 * Distributed under the Boost Software License, Version 1.0.
 * (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
 * https://github.com/D-Programming-Language/dmd/blob/master/src/root/speller.h
 */

#pragma once

typedef void *(fp_speller_t)(void *, const char *, int*);

extern const char idchars[];

void *speller(const char *seed, fp_speller_t fp, void *fparg, const char *charset);