Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
camila314 committed Mar 6, 2024
1 parent 5bb5703 commit 2a1f382
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/ast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ namespace broma {
Windows = 2,
Android = 4,
iOS = 8,
Android32 = 16,
Android64 = 32,
Android32 = 24,
Android64 = 40,
};

inline Platform str_to_platform(std::string const& str) {
Expand Down
6 changes: 3 additions & 3 deletions test/class.bro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[[link(ios)]]
[[link(android)]]
class Test {
int member(std::string str) = ios 0x3, mac 0x5;
int member2(std::string str) = ios 0x3, mac 0x5;
int member(std::string str);
int member2(std::string str);
///Woah
void thing(int a, int c) = win 0x0;

Expand Down
2 changes: 1 addition & 1 deletion test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

void print_func(broma::FunctionProto& func, broma::PlatformNumber& addrs) {

std::cout << "\tlinks: " << (long)func.attributes.links << "\n";
std::cout << "\tmissing: " << (long)func.attributes.missing << "\n";
std::cout << "\t" << func.ret.name << " " << func.name << "(";
for (auto arg : func.args) {
std::cout << arg.first.name << " " << arg.second << ", ";
Expand Down

0 comments on commit 2a1f382

Please sign in to comment.