/* Since: 2.24 Returns: a pointer to the allocated memory  */
gpointer g_malloc_n(gsize n_blocks, gsize n_block_bytes)
/* Since: 2.24 Returns: a pointer to the allocated memory  */
gpointer g_malloc_n(gsize n_blocks, gsize n_block_bytes)
{
  if (SIZE_OVERFLOWS (n_blocks, n_block_bytes))
    {
      g_error ("%s: overflow allocating %"G_GSIZE_FORMAT"*%"G_GSIZE_FORMAT" bytes",
               G_STRLOC, n_blocks, n_block_bytes);
    }
  return g_malloc (n_blocks * n_block_bytes);
}