ftp.nice.ch/pub/next/developer/resources/libraries/PB-API.0.1.README

This is the README for PB-API.0.1.NIHS.bs.tar.gz [Download] [Browse] [Up]

README PB-API 0.1 -- June 1996.

This project builds a small library containing a single function named
make_support, that can be used by compiler tools to communicate with
ProjectBuilder.  Basically I just took the relevant files from the cc
sources in GNUSource.pkg and organized this library project around it.

Here is the relevant section of Raf Schietekat's KBNS.33.2.029 that
relates to communication with PB:

[...] add calls to make_support() with arguments as follows
(don't bother to declare make_support first):
  int type;   // boolean: 0 for error, 1 for warning
  char *name; // the function name, used in the display on the right
	      // NULL if unknown
  char *file; // the file in italics, used to group things together
              // and to open that file when the item is clicked;
	      // should be just the file name itself, not a path
  int line;   // the line number, used when opening the file in Edit
              // lines numbered from 1 onwards
  char *msg;  // a format as for printf and friends, used for the message body
  int arg1;   // further argument filling in this format (if required)
  int arg2;   //   ... these can be pointers
  int arg3;   //   ...

[TRH addition: 
  type -1 displays "<msg> <name>" in Builder's title field
  (above the Target: popup.)
]

Also enclosed are patches to make the latest versions of Bison and Flex
ProjectBuilder aware.  After applying the relevant patch to the bison or
flex sources, you should run autoconf and autoheader to regenerate
configure and config.h.  Also make sure you've installed libPBapi.a
(created by this project) in /usr/local/lib before you re-configure.


Enjoy!

Tom Hageman <tom@basil.icce.rug.nl>.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.