Twitch SDK (Internal)
memorytypes.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
11 namespace ttv
12 {
16  typedef void* (*TTV_AllocCallback)(size_t size, size_t alignment);
20  typedef void (*TTV_FreeCallback)(void* ptr);
21 }
22 
23 
24 // Default aligned malloc/free if the client doesn't provide them
25 // These are just wrappers around the functions provided by the CRT
26 //
27 void* DefaultAlignedMalloc(size_t size, size_t alignment);
28 void DefaultAlignedFree(void* p);
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
void DefaultAlignedFree(void *p)
void(* TTV_FreeCallback)(void *ptr)
Definition: memorytypes.h:20
void * DefaultAlignedMalloc(size_t size, size_t alignment)