|
| 1 | +/* This file is part of the 'stringi' project. |
| 2 | + * Copyright (c) 2013-2025, Marek Gagolewski <https://www.gagolewski.com/> |
| 3 | + * All rights reserved. |
| 4 | + * |
| 5 | + * Redistribution and use in source and binary forms, with or without |
| 6 | + * modification, are permitted provided that the following conditions are met: |
| 7 | + * |
| 8 | + * 1. Redistributions of source code must retain the above copyright notice, |
| 9 | + * this list of conditions and the following disclaimer. |
| 10 | + * |
| 11 | + * 2. Redistributions in binary form must reproduce the above copyright notice, |
| 12 | + * this list of conditions and the following disclaimer in the documentation |
| 13 | + * and/or other materials provided with the distribution. |
| 14 | + * |
| 15 | + * 3. Neither the name of the copyright holder nor the names of its |
| 16 | + * contributors may be used to endorse or promote products derived from |
| 17 | + * this software without specific prior written permission. |
| 18 | + * |
| 19 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 20 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, |
| 21 | + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 22 | + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 23 | + * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 24 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 25 | + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 26 | + * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 27 | + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 28 | + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
| 29 | + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 | + */ |
| 31 | + |
| 32 | +#include "stri_stringi.h" |
| 33 | +#include <R_ext/Rdynload.h> |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | +// the callables library is defined in stri_callables.cpp |
| 38 | +const extern R_CallMethodDef stri_callables[]; |
| 39 | + |
| 40 | + |
| 41 | +/* |
| 42 | +Third-party packages can retrieve the following functions from |
| 43 | +stringi's shared library via a call to: |
| 44 | +
|
| 45 | +#include <R_ext/Rdynload.h> |
| 46 | +R_GetCCallable("stringi", "function_name"); |
| 47 | +
|
| 48 | +If you would like to get access to any additional functions (e.g., from ICU), |
| 49 | +feel free to contact the maintainer of stringi. |
| 50 | +*/ |
| 51 | + |
| 52 | + |
| 53 | +int stric_u_hasBinaryProperty(int c, int which); |
0 commit comments