Allocate memory for the formatted text
| 3524 | |
| 3525 | // Allocate memory for the formatted text |
| 3526 | char* 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 | //---------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected