Add project-specific logic to the source code

For each routine in each support routine category that you specify for a particular opaque type, BladeSmith generates one of the following functions:
  • The function definition and a function body that contains only a call to DkErrorRaise(). These routines are indicated by the comment Developer: TO DO.

    You must supply project-specific internal logic to these routines.

    BladeSmith inserts the DkErrorRaise() method into these routines, naming the routine that has not been implemented and the file in which it is in. When you supply the logic to these routines, you can remove the call to DkErrorRaise() or modify it to return an error more appropriate to the added logic.

  • The function definition and a default function body. These routines are indicated by the comment Developer: Make changes in this section if necessary.

    You can keep the default logic, or you can replace or modify it as appropriate for your project.