Skip to content

Commit

Permalink
Merge pull request EOSIO#148 from EOSIO/table-struct
Browse files Browse the repository at this point in the history
Update table struct in readme
  • Loading branch information
larryk85 authored Oct 11, 2018
2 parents cb1a407 + 4299f6e commit 10e40ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ This will generate one file:
int b
};
typedef eosio::multi_index<"testtaba"_n, test::taba> table_a;
typedef eosio::multi_index<"testtabb"_n, taba> table_b;
typedef eosio::multi_index<"testtabb"_n, tabb> table_b;
```
this will produce the tables `testtaba` and `testtabb` in your abi. Example: `eosio-cpp -abigen test.cpp -o test.wasm` will mark this compilation and abi generation for the `eosio::contract` `test`, so will `eosio-cpp -abigen test.cpp -o <some else> --contract test` and finally CMake `add_contract( test, test_contract, test.cpp )`, this will produce test_contract.wasm, test_contract.abi generated against `test` contract name.
Expand Down

0 comments on commit 10e40ff

Please sign in to comment.