My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Copyright (c) 2009 Christopher J. W. Lloyd <cjwl@objc.net>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <CoreGraphics/CGDataConsumer.h>
#import <Onyx2D/O2DataConsumer.h>

CGDataConsumerRef CGDataConsumerCreate(void *info, const CGDataConsumerCallbacks *callbacks) {
return O2DataConsumerCreate(info, (const O2DataConsumerCallbacks *)callbacks);
}

CGDataConsumerRef CGDataConsumerCreateWithURL(CFURLRef url) {
return O2DataConsumerCreateWithURL(url);
}

CGDataConsumerRef CGDataConsumerCreateWithCFData(CFMutableDataRef data) {
return O2DataConsumerCreateWithCFData(data);
}

void CGDataConsumerRelease(CGDataConsumerRef self){
O2DataConsumerRelease(self);
}

Change log

aa025beb9949 by Airy ANDRE <airy.an...@free.fr> on Nov 4, 2011   Diff
O2DataConsumerCreateWithURL implementation
is missing + adding a few API to have a
more complete CGDataConsumer
implementation
Go to: 
Project members, sign in to write a code review

Older revisions

ca790b6ad721 by Christopher Lloyd <cocotron> on Mar 31, 2010   Diff
split Onyx2D out of CoreGraphics
4ca33a037920 by cocotron on Dec 1, 2009   Diff
- initial CFData implementation
- NSBitmapImageRep -TIFFRepresentation
OfImageRepsInArray:, -TIFFRepresentati
onOfImageRepsInArray:usingCompression:
factor
...
72abf73ab6d7 by cocotron on Nov 30, 2009   Diff
(fixes  issue #457 )
cleanup warnings
All revisions of this file

File info

Size: 1661 bytes, 26 lines
Powered by Google Project Hosting