diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-12 06:52:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-12 06:52:58 -0700 |
commit | f1ccbf903ec1473531815809424e701e5af88154 (patch) | |
tree | 33866a5f68be66d86c1058d46a5ec95b82853c7b /mpi/mpi.h | |
parent | ff0366ac3249b1a25813921e1af9346f345fd4a3 (diff) | |
download | txr-f1ccbf903ec1473531815809424e701e5af88154.tar.gz txr-f1ccbf903ec1473531815809424e701e5af88154.tar.bz2 txr-f1ccbf903ec1473531815809424e701e5af88154.zip |
lib: new chk_xalloc, with mult overflow check.
This will simplify code that allocates an array-like
object whose size is the product of two numbers.
* lib.c (chk_xalloc): New function.
* lib.h (chk_xalloc): Declared.
Diffstat (limited to 'mpi/mpi.h')
0 files changed, 0 insertions, 0 deletions