diff options
author | Kenta Murata <mrkn@mrkn.jp> | 2022-11-13 12:46:22 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-13 03:47:40 +0000 |
commit | bbb9f7235329380d9cf617530ca4d39ba07e1824 (patch) | |
tree | c798b82be1aa4053f99589a42dba68da5258657c /ext/bigdecimal/bigdecimal.h | |
parent | 27034102890f5feeb28682e5117f1d2ec6a949ad (diff) |
[ruby/bigdecimal] Rewrite allocation functions
* Rename them
* Make allocation count operations atomic
https://github.com/ruby/bigdecimal/commit/a5ab34a115
Diffstat (limited to 'ext/bigdecimal/bigdecimal.h')
-rw-r--r-- | ext/bigdecimal/bigdecimal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h index 38dee51e68..46fafde13e 100644 --- a/ext/bigdecimal/bigdecimal.h +++ b/ext/bigdecimal/bigdecimal.h @@ -224,9 +224,6 @@ VP_EXPORT int VpIsNegDoubleZero(double v); #endif VP_EXPORT size_t VpNumOfChars(Real *vp,const char *pszFmt); VP_EXPORT size_t VpInit(DECDIG BaseVal); -VP_EXPORT void *VpMemAlloc(size_t mb); -VP_EXPORT void *VpMemRealloc(void *ptr, size_t mb); -VP_EXPORT void VpFree(Real *pv); VP_EXPORT Real *VpAlloc(size_t mx, const char *szVal, int strict_p, int exc); VP_EXPORT size_t VpAsgn(Real *c, Real *a, int isw); VP_EXPORT size_t VpAddSub(Real *c,Real *a,Real *b,int operation); |