Browse Prior Art Database

User-Independent Structure Allocation Runtime Function

IP.com Disclosure Number: IPCOM000037715D
Original Publication Date: 1989-Jun-01
Included in the Prior Art Database: 2005-Jan-29
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Garrison, JR: AUTHOR [+2]

Abstract

Disclosed is a process for allocating data structures for use by runtime function calls which are generated by the precompiler in a user's application. This process requires no intervention from the user's application and no knowledge about the allocation to be contained in the user's application.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 84% of the total text.

Page 1 of 1

User-Independent Structure Allocation Runtime Function

Disclosed is a process for allocating data structures for use by runtime function calls which are generated by the precompiler in a user's application. This process requires no intervention from the user's application and no knowledge about the allocation to be contained in the user's application.

Runtime function calls are generated in a user's application to allow the application to invoke Database Manager functions. These functions require specific internal data structures as input. These structures should be allocated dynamically at runtime and be made available to the runtime functions. The allocation should be done without the user's application needing to do anything explicit.

Rather than generating the allocation code directly into the user's application source file, a call to a runtime allocation function is generated. This function contains all of the structure definitions and function definitions required to properly allocate a data structure of a given size and assign it to a specified variable.

At runtime, the call will allocate the required data structure. The data structure will be assigned to the correct variable so that it may be used by runtime functions for the Database Manager.

By hiding the allocation of the data structure in a function, there is complete freedom as to how the structure is allocated and from where the memory is taken. The user need not include any special files, and thus...