Deleted Post

I have a class in a cpp file with a public variable but it doesnt seem to let me access it for some reason it says its not there what do i do??

import cpp.Int16;

@:include("library.cpp")

@:native("Library::Book")
@:structAccess 
extern class Book {
    @:native("Library::Book")        @:overload(function():Book {})
    @:native("Library::Book") static public function create():Book;
    public function sayHi():Void;
    var thing:Int16;
}


class Main {
    static public function main() {
        var object:Book = Book.create();
        object.sayHi();
        trace(object.thing);
    }
} 


Now for the cpp file

#include <iostream>

namespace Library {

  class Book {
    public:
      Book();
    ~Book();
    void sayHi() {
      std::cout << "Hellow my name is zoo Z \n";
    }
    int thing = 0;
  };

  Book::Book() {
    printf("constructed");
  }

  Book::~Book() {
    printf("deconstructed");
  }

}

I need to know this so i can make an automatic C++ externer with python.