File: programming/cocoa/

/* =============================================================================
	PROJECT:	Cubix (PB1)
	FILE:		MachOCFMGlue.h
	PURPOSE:	Code that does the magic needed to call MachO functions
				from CFM and CFM functions from Carbon.
	COPYRIGHT:	Copyright (c) 2002 M. Uli Kusterer, all rights reserved.
				Thanks to George Warner, Chris Silverberg and Ricky Sharp for
				clues on how to do this and implementation snippets.
        Fri Jul 26 2002	witness	Created.
   ========================================================================== */
#define MACH_O_CFM_GLUE_H	1
/* -----------------------------------------------------------------------------
   -------------------------------------------------------------------------- */
#include <Carbon/Carbon.h>
#ifdef __cplusplus
"C" {
/* -----------------------------------------------------------------------------
    Data Structures:
		This is what CFM actually uses instead of function pointers.
   -------------------------------------------------------------------------- *//* -----------------------------------------------------------------------------
   -------------------------------------------------------------------------- */#ifdef __cplusplus
#endif /*MACH_O_CFM_GLUE_H*/

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.