]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/auxkc-pageablekc-vtable-patching/foo1.cpp
dyld-832.7.1.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-pageablekc-vtable-patching / foo1.cpp
1
2 #include "foo1.h"
3
4 OSDefineMetaClassAndStructors( Foo1, KernelClass )
5
6 // Index 0 has been replaced with a method
7 OSMetaClassDefineReservedUsed(Foo1, 0)
8 // Index 1 has been replaced with a method
9 OSMetaClassDefineReservedUsed( Foo1, 1 )
10
11 OSMetaClassDefineReservedUnused( Foo1, 2 )
12 OSMetaClassDefineReservedUnused( Foo1, 3 )
13
14 int Foo1::foo() {
15 return 0;
16 }
17
18 int Foo1::foo1Used0() {
19 return 0;
20 }
21
22 int Foo1::foo1Used1() {
23 return 0;
24 }