PageRenderTime 43ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/php/value/example.h

#
C++ Header | 8 lines | 5 code | 2 blank | 1 comment | 0 complexity | 829d13091dd18e281f7f2f5b4f5c8b0d MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. /* File : example.h */
  2. typedef struct {
  3. double x, y, z;
  4. } Vector;
  5. double dot_product(Vector a, Vector b);
  6. void vector_add(Vector a, Vector b, Vector* result);