MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / javaMemoryAlloc

Function javaMemoryAlloc

astyle/src/astyle_main.cpp:3526–3531  ·  view source on GitHub ↗

Allocate memory for the formatted text

Source from the content-addressed store, hash-verified

3524
3525// Allocate memory for the formatted text
3526char* STDCALL javaMemoryAlloc(unsigned long memoryNeeded)
3527{
3528 // error condition is checked after return from AStyleMain
3529 char* buffer = new(nothrow) char [memoryNeeded];
3530 return buffer;
3531}
3532#endif // ASTYLE_JNI
3533
3534//----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected