Skip to content

Commit

Permalink
Some fixes in the vapi bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jul 17, 2012
1 parent 1fe1417 commit e3329e7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions r2-bindings/vapi/r_db.vapi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Radare {
[Compact]
[CCode (cheader_filename="r_db.h", cname="struct r_db_t", free_function="r_db_free", cprefix="r_db_")]
[CCode (cheader_filename="r_db.h", cname="RDatabase", free_function="r_db_free", cprefix="r_db_")]
public class RDatabase {
/* lifecycle */
public RDatabase();
Expand All @@ -20,7 +20,7 @@ namespace Radare {
// public uint8 *pop();
}
[Compact]
[CCode (cheader_filename="r_db.h", cname="struct r_pair_t", free_function="r_pair_free", cprefix="r_pair_")]
[CCode (cheader_filename="r_db.h", cname="RPair", free_function="r_pair_free", cprefix="r_pair_")]
public class RPair {
/* lifecycle */
public RPair();
Expand Down
2 changes: 1 addition & 1 deletion r2-bindings/vapi/r_diff.vapi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Radare {
[Compact]
[CCode (cheader_filename="r_diff.h", cname="struct r_diff_t", free_function="r_diff_free", cprefix="r_diff_")]
[CCode (cheader_filename="r_diff.h", cname="RDiff", free_function="r_diff_free", cprefix="r_diff_")]
public class RDiff {
public RDiff (uint64 off_a = 0LL, uint64 off_b = 0LL);
public int buffers (uint8* a, int la, uint8* b, int lb);
Expand Down
2 changes: 1 addition & 1 deletion r2-bindings/vapi/r_egg.vapi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[CCode (cheader_filename="r_egg.h", cprefix="r_egg_", lower_case_cprefix="r_egg_")]
namespace Radare {
[Compact]
[CCode (cname="REggPlugin", free_function="r_egg_free", cprefix="r_egg_")]
[CCode (cname="REggPlugin", free_function="", cprefix="r_egg_")]
public class REggPlugin {
string name;
string desc;
Expand Down
2 changes: 1 addition & 1 deletion r2-bindings/vapi/r_hash.vapi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/* This vapi has been manually generated by me */
[Compact]
[CCode (cheader_filename="r_hash.h", cprefix="r_hash_", cname="struct r_hash_t", free_function="r_hash_free")]
[CCode (cheader_filename="r_hash.h", cprefix="r_hash_", cname="RHash", free_function="r_hash_free")]
public class Radare.RHash {
[CCode (cprefix="R_HASH_")]
[Flags]
Expand Down

0 comments on commit e3329e7

Please sign in to comment.