mirror of
https://github.com/BishopFox/theos-jailed.git
synced 2026-11-07 10:25:57 -10:00
[logos] Include logos/logos.h in the Base preamble, and prepend that to all Generator preambles. logos.h is currently blank.
From: Dustin L. Howett <[email protected]> git-svn-id: http://svn.howett.net/svn/theos/trunk@586 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
This commit is contained in:
1 parent
8d7974328a
commit
607f1fd9d7
4 files changed
+5
-4
No files matched your search
@@ -10,7 +10,7 @@ sub findPreamble {
|
||||
}
|
||||
|
||||
sub preamble {
|
||||
return ""; # Or whatever you want to plaster to the top of the file.
|
||||
return "#include <logos/logos.h>";
|
||||
}
|
||||
|
||||
sub generateClassList {
|
||||
|
||||
@@ -10,7 +10,8 @@ sub findPreamble {
|
||||
}
|
||||
|
||||
sub preamble {
|
||||
return "#include <substrate.h>";
|
||||
my $self = shift;
|
||||
return join("\n", ($self->SUPER::preamble(), "#include <substrate.h>"));
|
||||
}
|
||||
|
||||
1;
|
||||
@@ -10,8 +10,8 @@ sub findPreamble {
|
||||
}
|
||||
|
||||
sub preamble {
|
||||
shift;
|
||||
return "#include <objc/message.h>";
|
||||
my $self = shift;
|
||||
return join("\n", ($self->SUPER::preamble(), "#include <objc/message.h>"));
|
||||
}
|
||||
|
||||
1;
|
||||
Whitespace-only changes.
Reference in new issue
Block a user